- Home /
Android unity app crashes on launch
This is the log I get on the debug log:
06-03 15:16:41.834: I/Unity(2631): (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35) 06-03 15:16:41.895: E/Unity(2631): ArgumentException: nativeTex can not be null 06-03 15:16:41.895: E/Unity(2631): at UnityEngine.Texture2D.CreateExternalTexture (System.Int32 width, System.Int32 height, UnityEngine.TextureFormat format, System.Boolean mipChain, System.Boolean linear, System.IntPtr nativeTex) [0x00011] in :0 06-03 15:16:41.895: E/Unity(2631): at GoogleARCoreInternal.ARCoreAndroidLifecycleManager._SetCameraTextureName () [0x000a1] in :0 06-03 15:16:41.895: E/Unity(2631): at GoogleARCoreInternal.ARCoreAndroidLifecycleManager._OnEarlyUpdate () [0x00000] in :0 06-03 15:16:41.895: E/Unity(2631): at GoogleARCoreInternal.ARPrestoCallbackManager.EarlyUpdateTrampoline () [0x00011] in :0 06-03 15:16:41.895: E/Unity(2631): UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) 06-03 15:16:41.895: E/Unity(2631): UnityEngine.DebugLogHandler:LogException(Exception, Object) 06-03 15:16:41.895: E/Unity(2631): UnityEngine.Logger:LogException(Exception, Object) 06-03 15:16:41.895: E/Unity(2631): UnityEngine.Debug:LogException(Exception) 06-03 15:16:41.895: E/Unity(2631): UnityEngine.<>c:b_0_0(Object, UnhandledExceptionEventArgs) 06-03 15:16:41.895: E/Unity(2631): 06-03 15:16:41.895: E/Unity(2631): (Filename:
I have a samsung galaxy s6 with android 7.0. This happens when I try to build and run.