Question by
z741092665 · Nov 29, 2021 at 06:28 AM ·
iosbuildbuild-errormac
Unity crash when build on mac m1
Unity2019.4.8f1 MacOS Monterey12.0.1 m1 chip When the mac computer with m1 chip is packaged, Unity will crash, and the error stack is as follows:
[00:00:00] Enlighten: Reflection Probes took 27.000441 seconds. Cancelled, so not done yet.
[00:00:00] Enlighten: LightingDataAsset took 26.969982 seconds. Cancelled, so not done yet.
Assertion failed on expression: 'GetApplication().MayUpdate()'
UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions, Boolean)
UnityEditor.BuildPipeline:BuildPlayerInternal(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions) (at /Users/bokken/buildslave/
unity/build/Editor/Mono/BuildPipeline.bindings.cs:387)
UnityEditor.BuildPipeline:BuildPlayer(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions) (at /Users/bokken/buildslave/unity/
build/Editor/Mono/BuildPipeline.bindings.cs:286)
UnityEditor.BuildPipeline:BuildPlayer(BuildPlayerOptions) (at /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:269)
UnityEditor.BuildPipeline:BuildPlayer(EditorBuildSettingsScene[], String, BuildTarget, BuildOptions) (at /Users/bokken/buildslave/unity/build/
Editor/Mono/BuildPipeline.bindings.cs:252)
ProjectBuild:IOSBuild() (at Assets/Editor/AssetBundleEditor/ProjectBuild.cs:607)
ProjectBuild:Build() (at Assets/Editor/AssetBundleEditor/ProjectBuild.cs:136)
ProjectBuild:OnScriptsReloaded() (at Assets/Editor/AssetBundleEditor/ProjectBuild.cs:1358)
[./Editor/Src/Application/PlayerLoopController.cpp line 187]
(Filename: /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs Line: 387)
Obtained 21 stack frames.
#0 0x00000000000000 in (Unknown)
#1 0x000001abbd347c in mono_jit_runtime_invoke
#2 0x000001abd95f75 in do_runtime_invoke
#3 0x000001abd95ed3 in mono_runtime_invoke
#4 0x00000107f2f7f7 in scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)
#5 0x00000107f293bf in ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)
#6 0x000001048f0f8d in
Scripting::UnityEngine::Experimental::Rendering::ScriptableRuntimeReflectionSystemWrapperProxy::Internal_ScriptableRuntimeReflectionSyste
mWrapper_TickRealtimeProbes(bool*, ScriptingExceptionPtr*)
#7 0x00000107019ba7 in ScriptableRuntimeReflectionSystem::UpdateRealtimeProbes()
#8 0x00000107015bcb in RenderManager::RenderOffscreenCameras()
#9 0x00000105619190 in PlayerLoopController::UpdateScene(bool)
#10 0x00000105e83c14 in EditorSceneManager::FinishNewScene()
#11 0x00000105e83b26 in EditorSceneManager::NewScene(NewSceneParameters const&)
#12 0x0000010583b984 in BuildPlayerData(BuildTargetPlatformGroup, BuildTargetPlatform, BuildPlayerOptions, BuildCompression const&,
std::__1::vector >, std::__1::allocator > > >, AssetBundleBuildData*, std::__1::vector >&, ScriptingObjectPtr, Vector2f, BuildReporting::BuildReport&, core::basic_string > const&, BuildReporting::BuiltAssetBundleInfo*, core::basic_string >
const&)
#13 0x0000010580cb19 in DoBuildPlayer(BuildPlayerSetup const&, std::__1::vector >&, core::basic_string >, std::__1::vector >, std::__1::allocator > > >, bool,
BuildReporting::BuildReport&, BuildReporting::BuiltAssetBundleInfo*, core::basic_string > const&)
#14 0x0000010581298a in BuildPlayer(BuildPlayerSetup const&, BuildReporting::BuildReport&)
#15 0x00000106b3d207 in BuildPipeline_CUSTOM_BuildPlayerInternalNoCheck(ScriptingBackendNativeArrayPtrOpaque*,
ScriptingBackendNativeStringPtrOpaque*, ScriptingBackendNativeStringPtrOpaque*, BuildTargetPlatformGroup, BuildTargetPlatform,
BuildPlayerOptions, unsigned char)
#16 0x000001cb2b20b0 in (wrapper managed-to-native) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck
(string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,UnityEditor.BuildOptions,bool) {0x7f83e10fb2b8} + 0xc0 (0x1cb2b1ff0
0x1cb2b2162) [0x1ab7cec80 - Unity Child Domain]
#17 0x000001cb2b11eb in UnityEditor.BuildPipeline:BuildPlayerInternal
(string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,UnityEditor.BuildOptions) {0x7f8436f06910} + 0x1ab (0x1cb2b1040
0x1cb2b123a) [0x1ab7cec80 - Unity Child Domain]
#18 0x000001cb2b07f3 in UnityEditor.BuildPipeline:BuildPlayer
(string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,UnityEditor.BuildOptions) {0x7f8436f067c0} + 0x373 (0x1cb2b0480
0x1cb2b0948) [0x1ab7cec80 - Unity Child Domain]
#19 0x000001cb2b00c3 in UnityEditor.BuildPipeline:BuildPlayer (UnityEditor.BuildPlayerOptions) {0x7f8436f06798} + 0x193 (0x1cb2aff30
0x1cb2b0118) [0x1ab7cec80 - Unity Child Domain]
#20 0x000001cb2af07b in UnityEditor.BuildPipeline:BuildPlayer
(UnityEditor.EditorBuildSettingsScene[],string,UnityEditor.BuildTarget,UnityEditor.BuildOptions) {0x7f8436f06748} + 0x29b (0x1cb2aede0
0x1cb2af0dc) [0x1ab7cec80 - Unity Child Domain]
Comment
Can someone help me, there is a probability of this problem
Edit your post and select code and press:
101
010
Your answer
Follow this Question
Related Questions
Apple Mach-O Linker (ld) 3 Answers
IOS Build Error after upgrading to from Unity 2017.3(lol) on Mac 0 Answers
Xcode stuck / hangs when compiling source files for Unity project 5 Answers
iOS Unity Build Error : "does not refer to a file in a known build section" 0 Answers
Building For IOS on a Mac Error: UnauthorizedAccessException: Access to path is denied. 0 Answers