Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 vrzone-io · Jul 25, 2020 at 12:19 PM · crash

Unity 2020.1 crashes when loading a specific scene in editor

Stack:

  • Unity 2020.1

  • macOS Catalina 10.15.4

I ported my project from Unity 2019.4 to 2020.1. In the project, there are 10 scenes and the editor crashes 100% of the times when loading scene 0. Loading all the other scenes doesn't create any problem.

Here's the log:

 UnityEngine.UIElements.UIEventRegistration:ProcessEvent(Int32, IntPtr) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:74)
 UnityEngine.UIElements.<>c:<.cctor>b__1_2(Int32, IntPtr) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:28)
 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
  
 [./Runtime/Scripting/ManagedReference/SerializableManagedRef.cpp line 115]
 (Filename: /Users/builduser/buildslave/unity/build/Modules/AssetDatabase/Editor/ScriptBindings/AssetDatabase.bindings.cs Line: 234)
  
 Loaded scene 'Assets/_Scenes/Lobby/Lobby.unity'
     Deserialize:            90.551 ms
     Integration:            261.606 ms
     Integration of assets:  5.098 ms
     Thread Wait Time:       17.903 ms
     Total Operation Time:   375.158 ms
 System memory in use before: 438.3 MB.
 System memory in use after: 439.0 MB.
  
 Unloading 4 unused Assets to reduce memory usage. Loaded Objects now: 5474.
 Total: 32.649901 ms (FindLiveObjects: 0.690053 ms CreateObjectMapping: 0.188748 ms MarkObjects: 31.748189 ms  DeleteObjects: 0.022191 ms)
  
 gi::BakeBackendSwitch: Clear() active clients.
 [EnlightenBakeManager] m_Clear = false;
 [00:00:00] Enlighten: Precompute started.
 Obtained 32 stack frames.
 #0  0x0000010d8db970 in GameObject::QueryComponentByType(Unity::Type const*) const
 #1  0x0000010d281c7a in UI::AddRenderersToCanvas(JobFence&, Transform const*, UI::Canvas*, int&)
 #2  0x0000010d282138 in UI::AddRenderersToCanvas(JobFence&, Transform const*, UI::Canvas*, int&)
 #3  0x0000010d282138 in UI::AddRenderersToCanvas(JobFence&, Transform const*, UI::Canvas*, int&)
 #4  0x0000010d281b93 in UI::Canvas::UpdateBatchOrder()
 #5  0x0000010d281691 in UI::Canvas::UpdateBatches(bool)
 #6  0x0000010d25919b in UI::CanvasManager::WillRenderCanvases()
 #7  0x0000010d25b939 in UI::InitializeCanvasManager()::UIEventsWillRenderCanvasesRegistrator::Forward()
 #8  0x0000010e108f20 in InitPlayerLoopCallbacks()::PostLateUpdatePlayerUpdateCanvasesRegistrator::Forward()
 #9  0x0000010e0ebb6e in ExecutePlayerLoop(NativePlayerLoopSystem*)
 #10 0x0000010e0ebbda in ExecutePlayerLoop(NativePlayerLoopSystem*)
 #11 0x0000010e0ebe7c in PlayerLoop()
 #12 0x0000010f5f6f12 in PlayerLoopController::UpdateScene(bool)
 #13 0x0000010f5e8dd7 in PlayerLoopController::UpdateSceneIfNeeded()
 #14 0x0000010f5e65ba in Application::TickTimer()
 #15 0x000001118cfd45 in -[EditorApplication TickTimer]
 #16 0x007fff39d663ca in __NSFireTimer
 #17 0x007fff3768f9b9 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
 #18 0x007fff3768f51f in __CFRunLoopDoTimer
 #19 0x007fff3768f007 in __CFRunLoopDoTimers
 #20 0x007fff37673daa in __CFRunLoopRun
 #21 0x007fff37672ffe in CFRunLoopRunSpecific
 #22 0x007fff362a6abd in RunCurrentEventLoopInMode
 #23 0x007fff362a66f4 in ReceiveNextEventCommon
 #24 0x007fff362a6579 in _BlockUntilNextEventMatchingListInModeWithFilter
 #25 0x007fff348f1c99 in _DPSNextEvent
 #26 0x007fff348f04e0 in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
 #27 0x007fff348e21ee in -[NSApplication run]
 #28 0x007fff348b3ff6 in NSApplicationMain
 #29 0x0000011190dd37 in EditorMain(int, char const**)
 #30 0x0000011190ded9 in main
 #31 0x007fff715bbcc9 in start
 Launching bug reporter
 [Unity Package Manager (Upm)]
 Parent process [36994] was terminated
 QObject: Cannot create children for a parent that is in a different thread.
 (Parent is QObject(0x7fb6af073cf0), parent's thread is QThread(0x7fb6aa50b690), current thread is Thread(0x7fb6af0a3960)
  
 )

Seems like the problem is connected to Enlighten but I'm not sure how can I change it since I need to access the scene in the editor to update the Lighting settings. Maybe I can edit directly a file?

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
0

Answer by Scorpion37s · Apr 10 at 12:21 PM

I'm having the same problem. Have you found the solution?

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

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

Game Crash When Changing Scene 1 Answer

App Store Rejection - Crashes 2 Answers

Player crash during the loading of a level 1 Answer

my project broken help me 1 Answer

LoadLevelAsync Causes Unity to Crash? 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