Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by xKroniK13x · Aug 29, 2012 at 01:06 AM · objectserializationspecific

Unity Serializer Scene Only?

Hey guys, I'm using whydoidoit's Unity Serializer. I'm trying to save only placed (instantiated) objects in the scene. I have them all set as prefab identifiers. The problem is that when I load the level, the entire scene is opened (including objects not set up in the wizard). I don't want cameras remade or anything like that, just the objects in the scene that were instantiated. I dunno what to do!

Thanks!

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by whydoidoit · Aug 29, 2012 at 01:56 AM

When it reloads the level it has to reload the base state - so it goes back to the scene and loads that from the project first - then it instantiates anything that was saved that wasn't in the scene. It has to go through that initial load to get everything back the way it should be. What problem is it causing?

Comment
Add comment · Show 9 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image xKroniK13x · Aug 29, 2012 at 02:21 AM 0
Share

Well, my game has a level editor and I am using your serializer to upload the data. I want users to be able to download a level and play it, but not edit it. When you upload the level, you are in the level editor. I created a new scene and recall the level through the serializer, but it makes an identical scene to the editor, making it so that you can edit it. I just want the files to be instantiated and then play it, not the level editor to come back up.

I'm willing to send project files to you if it will help you understand what my goal is, just let me know!

Thanks.

avatar image whydoidoit · Aug 29, 2012 at 02:24 AM 1
Share

I'll add a thing that stops the level load and presumes that you are setup and ready - give me a day and I'll push it out. If that doesn't work then I'll happily look at the project.

avatar image xKroniK13x · Aug 29, 2012 at 02:25 AM 0
Share

Awesome! I'll continue working with GUI and getting everything set up. Thanks a lot, I appreciate it!

avatar image whydoidoit · Sep 02, 2012 at 12:38 PM 1
Share

That version is up on my web site now

avatar image bionicnacho · Apr 17, 2013 at 08:24 PM 0
Share

Hey! I know this is a pretty old question, but i need it...

How do i do "the thing that stops the level load and presumes that you are setup and ready" when I load a level using LevelSerializer.LoadSavedLevelFromServer(); ?

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

9 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Serialization - Variables won't change on original construction 1 Answer

Scriptable Object List values are always null 1 Answer

Click To Delete Specific Object 1 Answer

Serializing Properties (JSON saving and loading system) 2 Answers

Destroying a specific object. C# 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges