Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 Logarhythm · Dec 12, 2017 at 11:03 AM · crashesinternal

Internal Unity crash during UnloadGameScene (2017.2.0f3 )

We have a complex game that's ready to ship, but unfortunately encounter a semi-frequent internal unity crash when unloading a scene. We filed a bug a couple of weeks ago but have had no response from Unity so I'm guessing they don't know this one yet. Our scenes are composed mostly of instantiated prefabs (and the same scene is used for all game boards apart from the level selection screen.)

The call stack shows the application in UnityPlayer.dll!TransformInternal::DestroyTransformHierarchy()

 >    UnityPlayer.dll!TransformInternal::DestroyTransformHierarchy(struct TransformHierarchy *)    Unknown    Non-user code. Symbols loaded.
      UnityPlayer.dll!Transform::MainThreadCleanup(void)    Unknown    Non-user code. Symbols loaded.
      UnityPlayer.dll!delete_object_internal_step1(class Object *)    Unknown    Non-user code. Symbols loaded.
      UnityPlayer.dll!CommitBatchDelete(struct BatchDelete &)    Unknown    Non-user code. Symbols loaded.
      UnityPlayer.dll!DestroyGameObjectHierarchy(class GameObject &)    Unknown    Non-user code. Symbols loaded.
      UnityPlayer.dll!DestroyObjectHighLevel(class Object *,bool)    Unknown    Non-user code. Symbols loaded.
      UnityPlayer.dll!UnloadGameScene(void)    Unknown    Non-user code. Symbols loaded.
      UnityPlayer.dll!LoadSceneOperation::PlayerLoadSceneFromThread(void)    Unknown    Non-user code. Symbols loaded.
      UnityPlayer.dll!LoadSceneOperation::IntegrateMainThread(void)    Unknown    Non-user code. Symbols loaded.
      UnityPlayer.dll!PreloadManager::UpdatePreloadingSingleStep(enum PreloadManager::UpdatePreloadingFlags,int)    Unknown    Non-user code. Symbols loaded.
      UnityPlayer.dll!PreloadManager::UpdatePreloading(void)    Unknown    Non-user code. Symbols loaded.
      UnityPlayer.dll!PlayerLoop(void)    Unknown    Non-user code. Symbols loaded.
      UnityPlayer.dll!ScreenManagerWin::`scalar deleting destructor'(unsigned int)    Unknown    Non-user code. Symbols loaded.
      UnityPlayer.dll!TitleBarTimerUpdateCallback(struct HWND__ *,unsigned int,unsigned int,unsigned long)    Unknown    Non-user code. Symbols loaded.
      UnityPlayer.dll!_UnityMain()    Unknown    Non-user code. Symbols loaded.
 

Any ideas or experience in this matter would be greatly appreciated. We've suspected lights attached to transform hierarchies and seem to get this bug less if we remove many lights and particles, but it's unclear if this is simply a matter of reducing the number of game objects that may be affected.

It would be really useful if we could somehow inspect the memory of the offending object the internal unity call is dying on so maybe we'd have a smoking gun, but that's not possible AFAIK.

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

0 Replies

· Add your reply
  • Sort: 

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

72 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 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 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 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

Internal compile error 1 Answer

Internal Compiler Error 0 Answers

CommandInvokationFailure: Failed to re-package resources 1 Answer

Game crashes! 1 Answer

When using visual studio, and saving code outside of unity, it wrecks my projects. Why and how can I fix my old pojects? 2 Answers


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