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 AnnaS · Apr 03, 2015 at 09:37 AM · gameobjectbugserializationdeleted

Unity serialization problem "deleted gameobject"

Without any apparent reason my unity project stopped working correctly. Everytime I try to switch scene with

 Application.LoadLevelAsync (levelId);

or

 Application.LoadLevel (levelId);

I can't click any object in the scene and the hierarchy shows "deleted gameobject" on every single object:

alt text

the debugging log shows a lot of spamming of the following:

Unloading 0 Unused Serialized files (Serialized files now loaded: 0) UnloadTime: 0.549058 ms System memory in use before: 36.6 MB. System memory in use after: 36.6 MB.

Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 1280. Total: 0.568947 ms (FindLiveObjects: 0.042188 ms CreateObjectMapping: 0.023505 ms MarkObjects: 0.489692 ms DeleteObjects: 0.012958 ms)

Unloading 0 Unused Serialized files (Serialized files now loaded: 0) UnloadTime: 0.552674 ms System memory in use before: 36.6 MB. System memory in use after: 36.6 MB.

Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 1286. Total: 0.486377 ms (FindLiveObjects: 0.037970 ms CreateObjectMapping: 0.021094 ms MarkObjects: 0.413752 ms DeleteObjects: 0.013259 ms)

Unloading 0 Unused Serialized files (Serialized files now loaded: 0) UnloadTime: 0.597575 ms System memory in use before: 36.6 MB. System memory in use after: 36.6 MB.

Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 1292. Total: 0.582809 ms (FindLiveObjects: 0.042791 ms CreateObjectMapping: 0.021395 ms MarkObjects: 0.514704 ms DeleteObjects: 0.003616 ms)

Unloading 0 Unused Serialized files (Serialized files now loaded: 0) UnloadTime: 0.533086 ms System memory in use before: 36.6 MB. System memory in use after: 36.7 MB.

Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 1298. Total: 0.547551 ms (FindLiveObjects: 0.040380 ms CreateObjectMapping: 0.022601 ms MarkObjects: 0.471310 ms DeleteObjects: 0.012958 ms)

Is this a bug in Unity? I'm using Unity 5

problem.png (86.0 kB)
Comment
Add comment · Show 1
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 AnnaS · Apr 03, 2015 at 11:43 AM 0
Share

To save anyone else with my same problem some time: as a workaround I disabled every asynchronous level load and the problem seems to be gone. It might be only related to asynchronous level loading.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by xiaolangfensi · Apr 12, 2017 at 05:50 AM

Maybe you limit the amount for prefab to Instantiate and Instantiate the object on update?

Comment
Add comment · 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

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

20 People are following this question.

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

Related Questions

SetActive is broken 0 Answers

Detect when instance has deleted 0 Answers

Sprites are being cut in half. HELP! 4 Answers

Implementing GetComponent or accessing children from SerializableObjects 1 Answer

GameObject HideFlags.DontSave not working as expected 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