Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug Android Build Crash

Discussion in 'Android' started by Minilnur, Apr 12, 2023.

  1. Minilnur

    Minilnur

    Joined:
    Mar 27, 2022
    Posts:
    5
    I use URP 2022.2.14f1 the build crashes from time to time. Crashes appear more frequently on release build than development build. Downgrading is not option for me. So far I got rid of almost all NullReferenceExceptions in build log. Because it can cause null reference exceptions. Also I tried to mess with Script Execution Order since read on one of forums that this can help. Any hints or help will be appreciated.

    E *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    E Version '2022.2.14f1 (b2c9b1ac6cc0)', Build type 'Development', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
    E Build fingerprint: 'oculus/hollywood/hollywood:10/QQ3A.200805.001/50163300257300150:user/release-keys'
    E Revision: '0'
    E ABI: 'arm64'
    E Timestamp: 2023-04-13 00:34:45.029817769+0300
    E signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr --------
    E Cause: null pointer dereference
    E x0 0000007c307fab00 x1 0000007c30749c20 x2 0000000000000001 x3 0000007d52f772f8
    E x4 0000007c30749c20 x5 0000007c30749c48 x6 0000003a00000039 x7 000004700000003b
    E x8 0000000000000000 x9 0000000000000000 x10 0000000000000018 x11 0000000000000000
    E x12 0000003b0000003a x13 0000000500000470 x14 0000000000000000 x15 0000007d03a49a60
    E x16 0000007d5463c8d8 x17 0000007e3b67fec0 x18 0000007d0183fac8 x19 0000007c30749c20
    E x20 0000007d01795c20 x21 0000007d5364575c x22 0000007d01795c20 x23 0000007c307fab00
    E x24 0000000000000001 x25 0000007d545e76d8 x26 0000007d52f773f0 x27 0000007d017f83a0
    E x28 0000007d530e9240 x29 0000007d52f774c0
    E lr 0000007d53e206d8 sp 0000007d52f77350 pc 0000007d53645798 pst 0000000080001000
    E
    backtrace:
    E #00 pc 00000000006a5798 (?? at ??:0) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libunity.so (BuildId: 165ad1656eb37538)
    E #01 pc 0000000000e806d4 (GfxDevice::ExecuteAsync(int, void (*)(GfxDeviceAsyncCommand::ArgScratch*, GfxDeviceAsyncCommand::Arg const*), GfxDeviceAsyncCommand::ArgScratch**, GfxDeviceAsyncCommand::Arg const*, JobFence const&) at ??:0) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libunity.so (GfxDevice::ExecuteAsync(int, void (*)(GfxDeviceAsyncCommand::ArgScratch*, GfxDeviceAsyncCommand::Arg const*), GfxDeviceAsyncCommand::ArgScratch**, GfxDeviceAsyncCommand::Arg const*, JobFence const&)+72) (BuildId: 165ad1656eb37538)
    E #02 pc 0000000000699bd4 (?? at ??:0) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libunity.so (BuildId: 165ad1656eb37538)
    E #03 pc 0000000000699854 (ExecuteDrawRenderersCommand(ScriptableRenderContextArg*) at ??:0) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libunity.so (ExecuteDrawRenderersCommand(ScriptableRenderContextArg*)+124) (BuildId: 165ad1656eb37538)
    E #04 pc 00000000006a03ac (ScriptableRenderContext::ExecuteScriptableRenderLoop() at ??:0) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libunity.so (ScriptableRenderContext::ExecuteScriptableRenderLoop()+1232) (BuildId: 165ad1656eb37538)
    E #05 pc 000000000467461c (UniversalRenderPipeline_RenderSingleCamera_mAED46E947EC1009B5D51EE35B156C551A2901A18 at E:/UnityProjects/Vhysion/VhysionVR2/VhysionVR/Library/Bee/artifacts/Android/il2cppOutput/cpp\Unity.RenderPipelines.Universal.Runtime__7.cpp:6971) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libil2cpp.so (BuildId: 4dd620067735cca4)
    E #06 pc 0000000004672574 (UniversalRenderPipeline_RenderCameraStack_m47BBC0B4111D83BB6EE3275C9572BFBF2F5451B9 at E:/UnityProjects/Vhysion/VhysionVR2/VhysionVR/Library/Bee/artifacts/Android/il2cppOutput/cpp\Unity.RenderPipelines.Universal.Runtime__7.cpp:7894) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libil2cpp.so (BuildId: 4dd620067735cca4)
    E #07 pc 0000000004670de8 (UniversalRenderPipeline_Render_m15A42AB44C14AB4DCA7EF0B915964D46B643D50E at E:/UnityProjects/Vhysion/VhysionVR2/VhysionVR/Library/Bee/artifacts/Android/il2cppOutput/cpp\Unity.RenderPipelines.Universal.Runtime__7.cpp:6154) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libil2cpp.so (BuildId: 4dd620067735cca4)
    E #08 pc 0000000004828154 (RenderPipelineManager_DoRenderLoop_Internal_mB646C8738F4A9859101F3BE94809E2E10BBDB1FB at E:/UnityProjects/Vhysion/VhysionVR2/VhysionVR/Library/Bee/artifacts/Android/il2cppOutput/cpp\UnityEngine.CoreModule__3.cpp:21763) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libil2cpp.so (BuildId: 4dd620067735cca4)
    E #09 pc 000000000216e198 (il2cpp::vm::Runtime::InvokeWithThrow(MethodInfo const*, void*, void**) at E:/Program Files/Unity/2022.2.14f1/Editor/Data/il2cpp/libil2cpp/vm\Runtime.cpp:604) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libil2cpp.so (BuildId: 4dd620067735cca4)
    E #10 pc 000000000216e0e4 (il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) at E:/Program Files/Unity/2022.2.14f1/Editor/Data/il2cpp/libil2cpp/vm\Runtime.cpp:590) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libil2cpp.so (BuildId: 4dd620067735cca4)
    E #11 pc 0000000000869360 (scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool) at ??:0) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libunity.so (scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)+176) (BuildId: 165ad1656eb37538)
    E #12 pc 000000000087bb14 (ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool) at ??:0) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libunity.so (ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)+156) (BuildId: 165ad1656eb37538)
    E #13 pc 00000000006a1288 (ScriptableRenderContext::ExtractAndExecuteRenderPipeline(dynamic_array<Camera*, 0ul> const&, void (*)(SceneNode const*, AABB const*, IndexList&, SceneCullingParameters const*), void*, ScriptingObjectPtr) at ??:0) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libunity.so (ScriptableRenderContext::ExtractAndExecuteRenderPipeline(dynamic_array<Camera*, 0ul> const&, void (*)(SceneNode const*, AABB const*, IndexList&, SceneCullingParameters const*), void*, ScriptingObjectPtr)+328) (BuildId: 165ad1656eb37538)
    E #14 pc 0000000000d64b80 (RenderManager::RenderCamerasWithScriptableRenderLoop(int) at ??:0) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libunity.so (RenderManager::RenderCamerasWithScriptableRenderLoop(int)+784) (BuildId: 165ad1656eb37538)
    E #15 pc 0000000000d650d4 (RenderManager::RenderCameras(int, void (*)(), void (*)()) at ??:0) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libunity.so (RenderManager::RenderCameras(int, void (*)(), void (*)())+56) (BuildId: 165ad1656eb37538)
    E #16 pc 00000000006d5450 (PlayerRender(bool) at ??:0) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libunity.so (PlayerRender(bool)+728) (BuildId: 165ad1656eb37538)
    E #17 pc 00000000006d6524 (?? at ??:0) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libunity.so (BuildId: 165ad1656eb37538)
    E #18 pc 00000000006ca92c (ExecutePlayerLoop(NativePlayerLoopSystem*) at ??:0) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libunity.so (ExecutePlayerLoop(NativePlayerLoopSystem*)+92) (BuildId: 165ad1656eb37538)
    E #19 pc 00000000006ca96c (ExecutePlayerLoop(NativePlayerLoopSystem*) at ??:0) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libunity.so (ExecutePlayerLoop(NativePlayerLoopSystem*)+156) (BuildId: 165ad1656eb37538)
    E #20 pc 00000000006cac64 (PlayerLoop() at ??:0) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libunity.so (PlayerLoop()+324) (BuildId: 165ad1656eb37538)
    E #21 pc 000000000092b988 (UnityPlayerLoop() at ??:0) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libunity.so (UnityPlayerLoop()+812) (BuildId: 165ad1656eb37538)
    E #22 pc 000000000094cb14 (nativeRender(_JNIEnv*, _jobject*) at ??:0) /data/app/com.VHYSION.VHYSION-KgBTQOi0DW9ZKjadKfpJ1A==/lib/arm64/libunity.so (nativeRender(_JNIEnv*, _jobject*)+84) (BuildId: 165ad1656eb37538)
    E #23 pc 0000000000143950 (libart.so not found) /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 9688b729ffcfb067a33d92e3c7278f65)
    E #24 pc 000000000200a558 /memfd:/jit-cache (deleted)
     

    Attached Files:

  2. Minilnur

    Minilnur

    Joined:
    Mar 27, 2022
    Posts:
    5
  3. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,679
    Try asking in https://forum.unity.com/forums/vr.160/, it seems you're crashing on Oculus device?
     
  4. Minilnur

    Minilnur

    Joined:
    Mar 27, 2022
    Posts:
    5