[Unity]Unity2021.3 Android release build Crash

Unity2021.3 Android release build Crash

Well, the solution was found in foreign forums.
Forum address: Original post

Unity crash log is as follows

Error Unity AssertionException: The scene catalog has not been loaded yet
Error Unity Assertion failure. Value was False
Error Unity Expected: True
Error Unity   at UnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) [0x00000] in <00000000000000000000000000000000>:0
Error Unity   at Unity.Scenes.SceneSystem.GetSceneGUID (System.String scenePath) [0x00000] in <00000000000000000000000000000000>:0
Error Unity   at Unity.Scenes.GameObjectSceneUtility.AddGameObjectSceneReferences () [0x00000] in <00000000000000000000000000000000>:0

Solution

Build Setting => Player => Script Compilation => Scripting Define Symbols
添加:UNITY_DISABLE_AUTOMATIC_SYSTEM_BOOTSTRAP
Insert image description here

Supongo que te gusta

Origin blog.csdn.net/TaoDuanYi/article/details/128617134
Recomendado
Clasificación