Hi,
I hope someone can help me. I’m trying to build and deploy a simple scene (containing just a cube) to my Magic Leap One. When I run “Build” it succeeds without errors. When I run “Build And Run” I get the errors that I’ve pasted at the bottom of this post.
I have followed the guide very closely and everything else seems fine. Please note:
- The device is running Lumin OS version 0.98.35
- I’m using:
** Lumin SDK v0.26.0
** Magic Leap SDK Plugin v0.26.0
** Unity v2020.3.47f1
** Magic Leap XR Plugin v6.4.1
** Minimum API Level is set to “API Level 10”
It looks like it’s referencing Android… maybe this is some confusion between ML1 and ML2 resources? (I don’t own a ML2). Could it be that I need an older version of one of the above components?
Does anyone have any ideas on what could cause this?
Android clang version 3.8.275480 (based on LLVM 3.8.275480)
Target: aarch64--linux-android
Thread model: posix
InstalledDir: \MagicLeap\mlsdk\v0.26.0\tools\toolchains\bin
Found candidate GCC installation: /MagicLeap/mlsdk/v0.26.0\\tools\\toolchains/lib/gcc/aarch64-linux-android\4.9.x
Selected GCC installation: /MagicLeap/mlsdk/v0.26.0\\tools\\toolchains/lib/gcc/aarch64-linux-android/4.9.x
Candidate multilib: .;@m64
Selected multilib: .;@m64
"MagicLeap\\mlsdk\\v0.26.0\\tools\\toolchains\\bin\\aarch64-linux-android-ld" "--sysroot=/MagicLeap/mlsdk/v0.26.0\\\\lumin" --eh-frame-hdr -m aarch64linux -shared -o "\\\\Temp\\\\Burst\\\\burst-aot01yqckbh.0s3\\\\lib_burst_generated.so" "/MagicLeap/mlsdk/v0.26.0\\\\lumin/usr/lib\\crtbegin_so.o" "-L/MagicLeap/mlsdk/v0.26.0\\\\tools\\\\toolchains/lib/gcc/aarch64-linux-android/4.9.x" "-L/MagicLeap/mlsdk/v0.26.0\\\\tools\\\\toolchains/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/lib/../lib64" "-L/MagicLeap/mlsdk/v0.26.0\\\\tools\\\\toolchains/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/lib" "-L/MagicLeap/mlsdk/v0.26.0\\\\lumin/usr/lib" --no-undefined --gc-sections --build-id "apps\\\\LTS-ML\\\\Temp\\\\Burst\\\\burst-aot01yqckbh.0s3\\\\lib_burst_generated_part_3.o" "LTS-ML\\\\Temp\\\\Burst\\\\burst-aot01yqckbh.0s3\\\\lib_burst_generated_part_0.o" "LTS-ML\\\\Temp\\\\Burst\\\\burst-aot01yqckbh.0s3\\\\lib_burst_generated_part_1.o" "LTS-ML\\\\Temp\\\\Burst\\\\burst-aot01yqckbh.0s3\\\\lib_burst_generated_part_2.o" "LTS-ML\\\\Temp\\\\Burst\\\\burst-aot01yqckbh.0s3\\\\lib_burst_generated_part_3_globals.o" "LTS-ML\\\\Temp\\\\Burst\\\\burst-aot01yqckbh.0s3\\\\lib_burst_generated_part_3_merged.o" -lm -lgcc -ldl -lc -lgcc -ldl "/MagicLeap/mlsdk/v0.26.0\\\\lumin/usr/lib\\crtend_so.o"
Error building Player: 9 errors
Error building Player: 11 errors
Build completed with a result of 'Failed' in 15 seconds (15146 ms)
0x00007ff6d161a04c (Unity) StackWalker::GetCurrentCallstack
0x00007ff6d1621539 (Unity) StackWalker::ShowCallstack
0x00007ff6d23bc9bc (Unity) GetStacktrace
0x00007ff6d2e3eb67 (Unity) DebugStringToFile
0x00007ff6d16bfa0a (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000013147a55cfb (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000013147a55b7b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x0000013147a54ffe (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x000001314b557a6a (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x00000131479d613b (Mono JIT Code) UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
0x00000131479fb9eb (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x000001314b55656b (Mono JIT Code) UnityEditor.BuildPlayerWindow:BuildPlayerAndRun (bool)
0x00000131470ee02b (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform)
0x0000013146fa9793 (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x0000013146f69393 (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
0x0000013146f63154 (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect,UnityEngine.Rect)
0x0000013146f62ae3 (Mono JIT Code) UnityEditor.DockArea:smile:rawView (UnityEngine.Rect,UnityEngine.Rect)
0x0000013146f4953b (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x0000013145f93d82 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:smile:oOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x0000013145f91313 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x000001314782371b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
0x0000013147823403 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x00000131479706eb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
0x0000013147969083 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
0x0000013145bf9dcb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleEvent (UnityEngine.UIElements.EventBase)
0x0000013145bcadc6 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
0x00000131479623c3 (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:smile:ispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000013145bc4b26 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
0x0000013145bc3623 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000013145bd51fb (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
0x0000013145bcff5b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
0x0000013145bcfcdb (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:smile:ispose ()
0x0000013145bc3f83 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000013145bc2763 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:smile:ispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x0000013145bc22ab (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x0000013145efdf63 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:smile:oDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x0000013145efd173 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x0000013145efcb8f (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x0000013145efc87b (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x0000013145efc375 (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x0000013145efc596 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007ffcb98000e0 ((<unknown>))
0x00007ffcb9782ac2 ((<unknown>))
0x00007ffcb978bb1f ((<unknown>))
0x00007ff6d155e994 (Unity) scripting_method_invoke
0x00007ff6d1559a91 (Unity) ScriptingInvocation::Invoke
0x00007ff6d1553845 (Unity) ScriptingInvocation::Invoke<void>
0x00007ff6d07f10ba (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007ff6d1e84378 (Unity) GUIView::ProcessRetainedMode
0x00007ff6d23f4472 (Unity) GUIView::OnInputEvent
0x00007ff6d1e84268 (Unity) GUIView::ProcessInputEvent
0x00007ff6d23f56f5 (Unity) GUIView::ProcessEventMessages
0x00007ff6d23ef14d (Unity) GUIView::GUIViewWndProc
0x00007ffd30d7e858 (USER32) CallWindowProcW
0x00007ffd30d7e4ee (USER32) CallWindowProcW
0x00007ffceb38f0f0 (OPENGL32) glPushClientAttrib
0x00007ffd30d7e858 (USER32) CallWindowProcW
0x00007ffd30d7e299 (USER32) DispatchMessageW
0x00007ff6d23c2d26 (Unity) MainMessageLoop
0x00007ff6d23c7021 (Unity) WinMain
0x00007ff6d3b01f0e (Unity) __scrt_common_main_seh
0x00007ffd2fc97604 (KERNEL32) BaseThreadInitThunk
0x00007ffd319a26a1 (ntdll) RtlUserThreadStart
UnityEditor.BuildPlayerWindow+BuildMethodException: 13 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002cc] in <3e401efa0ce4422582abd640a807e261>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <3e401efa0ce4422582abd640a807e261>:0
0x00007ff6d161a04c (Unity) StackWalker::GetCurrentCallstack
0x00007ff6d1621539 (Unity) StackWalker::ShowCallstack
0x00007ff6d23bc9bc (Unity) GetStacktrace
0x00007ff6d2e3eb67 (Unity) DebugStringToFile
0x00007ff6d16bfa0a (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000013147a55cfb (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000013147a55b7b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x0000013147a54ffe (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x000001314b557a6a (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x00000131479fbb53 (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x000001314b55656b (Mono JIT Code) UnityEditor.BuildPlayerWindow:BuildPlayerAndRun (bool)
0x00000131470ee02b (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform)
0x0000013146fa9793 (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x0000013146f69393 (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
0x0000013146f63154 (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect,UnityEngine.Rect)
0x0000013146f62ae3 (Mono JIT Code) UnityEditor.DockArea:smile:rawView (UnityEngine.Rect,UnityEngine.Rect)
0x0000013146f4953b (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x0000013145f93d82 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:smile:oOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x0000013145f91313 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x000001314782371b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
0x0000013147823403 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x00000131479706eb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
0x0000013147969083 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
0x0000013145bf9dcb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleEvent (UnityEngine.UIElements.EventBase)
0x0000013145bcadc6 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
0x00000131479623c3 (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:smile:ispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000013145bc4b26 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
0x0000013145bc3623 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000013145bd51fb (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
0x0000013145bcff5b (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
0x0000013145bcfcdb (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:smile:ispose ()
0x0000013145bc3f83 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x0000013145bc2763 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:smile:ispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x0000013145bc22ab (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x0000013145efdf63 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:smile:oDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x0000013145efd173 (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x0000013145efcb8f (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x0000013145efc87b (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x0000013145efc375 (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x0000013145efc596 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007ffcb98000e0 ((<unknown>))
0x00007ffcb9782ac2 ((<unknown>))
0x00007ffcb978bb1f ((<unknown>))
0x00007ff6d155e994 (Unity) scripting_method_invoke
0x00007ff6d1559a91 (Unity) ScriptingInvocation::Invoke
0x00007ff6d1553845 (Unity) ScriptingInvocation::Invoke<void>
0x00007ff6d07f10ba (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007ff6d1e84378 (Unity) GUIView::ProcessRetainedMode
0x00007ff6d23f4472 (Unity) GUIView::OnInputEvent
0x00007ff6d1e84268 (Unity) GUIView::ProcessInputEvent
0x00007ff6d23f56f5 (Unity) GUIView::ProcessEventMessages
0x00007ff6d23ef14d (Unity) GUIView::GUIViewWndProc
0x00007ffd30d7e858 (USER32) CallWindowProcW
0x00007ffd30d7e4ee (USER32) CallWindowProcW
0x00007ffceb38f0f0 (OPENGL32) glPushClientAttrib
0x00007ffd30d7e858 (USER32) CallWindowProcW
0x00007ffd30d7e299 (USER32) DispatchMessageW
0x00007ff6d23c2d26 (Unity) MainMessageLoop
0x00007ff6d23c7021 (Unity) WinMain
0x00007ff6d3b01f0e (Unity) __scrt_common_main_seh
0x00007ffd2fc97604 (KERNEL32) BaseThreadInitThunk
0x00007ffd319a26a1 (ntdll) RtlUserThreadStart