Copyright © 2026 Unity Technologies
Steps to reproduce:
Actual results: Console window displays 4 errors:
Lifecycle ERROR : Cannot exit scope of type 'TScope', no active scope of that type found
UnityEngine.DomainReloadLifecycleController/ScriptingCoreDebugForIl2AndMonoCpp:LogError (string)
Lifecycle ERROR : Cannot exit scope of type 'TScope', no active scope of that type found UnityEngine.DomainReloadLifecycleController/ScriptingCoreDebugForIl2AndMonoCpp:LogError (string)
Lifecycle ERROR : Failed to exit assembly loaded scope, due to exception System.NullReferenceException: Object reference not set to an instance of an object at Unity.Scripting.LifecycleManagement.LifecycleController.ExitScope[TContext] (Unity.Scripting.LifecycleManagement.LifecycleScopeWithContext`1[T] scope) [0x00014] in /Users/bokken/build/output/unity/unity/External/ScriptingCore/Unity.Scripting/LifecycleManagement/LifecycleController.cs:301
NullReferenceException: Object reference not set to an instance of an object
Unity.Scripting.LifecycleManagement.LifecycleController.ExitScope[TContext] (Unity.Scripting.LifecycleManagement.LifecycleScopeWithContext`1[T] scope) (at /Users/bokken/build/output/unity/unity/External/ScriptingCore/Unity.Scripting/LifecycleManagement/LifecycleController.cs:301)
Expected results: No errors
Reproducible with versions: 6000.5.0a9, 6000.6.0a1
Not reproducible with versions: 6000.4.1f1, 6000.5.0a8
Can’t test with versions: 6000.5.0a1 - 6000.5.0a7, as AI can not be installed. A screenshot has been added to the Attachments section.
Tested on (OS): macOS - Tahoe 26.3.1
Notes: Errors become visible during the first Unity theme change. Sometimes several changes are needed. On the 6000.5.0a8 build, I am getting a different set of errors. A screenshot has been added to the Attachments section.
Issues you vote on will appear here