Issue #525 new
Manuel Meyer created an issue

Hi,

since I bought Odin I get this error message while trying to build my Game:

Assertion failed on expression: 'GetApplication().MayUpdate()' UnityEditor.SceneManagement.EditorSceneManager:NewScene(NewSceneSetup, NewSceneMode) OdinSerializer.Editor.AOTSupportScanner:ScanScenes(String[], Boolean, Boolean) (at C:/Sirenix/OdinSerializer/OdinSerializer/Unity Integration/AOTSupportScanner.cs:257) OdinSerializer.Editor.AOTSupportScanner:ScanBuildScenes(Boolean, Boolean) (at C:/Sirenix/OdinSerializer/OdinSerializer/Unity Integration/AOTSupportScanner.cs:179) OdinSerializer.Editor.AOTSupportUtilities:ScanProjectForSerializedTypes(List`1&) (at C:/Sirenix/OdinSerializer/OdinSerializer/Unity Integration/AOTSupportUtilities.cs:48) OdinSerializer.Utilities.Editor.OdinBuildAutomation:OnPreprocessBuild() (at Assets/Plugins/Sirenix/Odin Serializer/OdinBuildAutomation.cs:72) OdinSerializer.Utilities.Editor.OdinPreBuildAutomation:OnPreprocessBuild(BuildReport) (at Assets/Plugins/Sirenix/Odin Serializer/OdinBuildAutomation.cs:110) UnityEditor.BuildPipeline:BuildPlayer(String[], String, BuildTarget, BuildOptions) HoloToolkit.Unity.BuildSLNUtilities:PerformBuild(BuildInfo) (at Assets/HoloToolkit/BuildAndDeploy/Editor/BuildSLNUtilities.cs:158) HoloToolkit.Unity.BuildDeployTools:BuildSLN(String, Boolean) (at Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployTools.cs:127) HoloToolkit.Unity.BuildDeployWindow:BuildAll(Boolean) (at Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployWindow.cs:1036) HoloToolkit.Unity.<>cDisplayClass50_0:<OnGUI>b0() (at Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployWindow.cs:279) UnityEditor.EditorApplication:Internal_CallDelayFunctions()

and a second one:

Assertion failed on expression: '!performAutorepaint || GetApplication().MayUpdate()' UnityEditor.SceneManagement.EditorSceneManager:NewScene(NewSceneSetup, NewSceneMode) OdinSerializer.Editor.AOTSupportScanner:ScanScenes(String[], Boolean, Boolean) (at C:/Sirenix/OdinSerializer/OdinSerializer/Unity Integration/AOTSupportScanner.cs:257) OdinSerializer.Editor.AOTSupportScanner:ScanBuildScenes(Boolean, Boolean) (at C:/Sirenix/OdinSerializer/OdinSerializer/Unity Integration/AOTSupportScanner.cs:179) OdinSerializer.Editor.AOTSupportUtilities:ScanProjectForSerializedTypes(List`1&) (at C:/Sirenix/OdinSerializer/OdinSerializer/Unity Integration/AOTSupportUtilities.cs:48) OdinSerializer.Utilities.Editor.OdinBuildAutomation:OnPreprocessBuild() (at Assets/Plugins/Sirenix/Odin Serializer/OdinBuildAutomation.cs:72) OdinSerializer.Utilities.Editor.OdinPreBuildAutomation:OnPreprocessBuild(BuildReport) (at Assets/Plugins/Sirenix/Odin Serializer/OdinBuildAutomation.cs:110) UnityEditor.BuildPipeline:BuildPlayer(String[], String, BuildTarget, BuildOptions) HoloToolkit.Unity.BuildSLNUtilities:PerformBuild(BuildInfo) (at Assets/HoloToolkit/BuildAndDeploy/Editor/BuildSLNUtilities.cs:158) HoloToolkit.Unity.BuildDeployTools:BuildSLN(String, Boolean) (at Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployTools.cs:127) HoloToolkit.Unity.BuildDeployWindow:BuildAll(Boolean) (at Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployWindow.cs:1036) HoloToolkit.Unity.<>cDisplayClass50_0:<OnGUI>b0() (at Assets/HoloToolkit/BuildAndDeploy/Editor/BuildDeployWindow.cs:279) UnityEditor.EditorApplication:Internal_CallDelayFunctions()

The build continues, but there are some errors in the build making the game unplayable.

my Unity Version: 2018.3.11f1 Odin Version: 2.0.15

I use the Inspector and the Serializer and try to build with the Mixed Reality Toolkit and the scripting Backend IL2CPP.

Hope you can help me. Thanks.

Kind Regards Manuel

Comments (0)

  1. Log in to comment