cancel
Showing results for 
Search instead for 
Did you mean: 

Unity build not loading into Quest

Hi all,
I'm having a problem with a very specific Unity project.
When I build the apk or build & run, I only get the tree loading dots on the device. I'm not even getting the Unity splash logo.
To clarify, I'm a Unity/XR developer, I have other projects going on and working perfectly using the same Unity version and Oculus integration versions. So idk what could be the problem.

This is the log I'm receiving from adb logcat:

08-14 17:39:07.742  5814  5840 I VrApi   : ----------- vrapi_Initialize [end] ----------
08-14 17:39:07.742  5814  5840 D GoCompatibility: PackageName: com.Termotank.FernwehVR
08-14 17:39:07.743  5814  5840 I GoCompatibility: headtracking feature in manifest, GoCompatibility disabled.
08-14 17:39:07.744  5814  5840 I VrIntegrationLoader: VrIntegration Loader Version  1.1.24.0-0-0 Jun  3 2019 15:20:48
08-14 17:39:07.745  5814  5840 V VrIntegrationLoader: Loading 32-bit VrIntegration...
08-14 17:39:07.750  5814  5840 V VrIntegrationLoader: loadInternal VrIntegration No Class!!!
08-14 17:39:07.750  5814  5840 I VrIntegration: ----------- VrIntegration_Initialize ----------
08-14 17:39:07.751  5814  5840 I VrIntegration: Core 0 max freq 1900800
08-14 17:39:07.751  5814  5840 I VrIntegration: Core 1 max freq 1900800
08-14 17:39:07.752  5814  5840 I VrIntegration: Core 2 max freq 1900800
08-14 17:39:07.752  5814  5840 I VrIntegration: Core 3 max freq 1900800
08-14 17:39:07.753  5814  5840 I VrIntegration: Core 4 max freq 2304000
08-14 17:39:07.753  5814  5840 I VrIntegration: Core 5 max freq 2304000
08-14 17:39:07.753  5814  5840 I VrIntegration: Core 6 max freq 2304000
08-14 17:39:07.754  5814  5840 I VrIntegration: Core 7 max freq 2304000
08-14 17:39:07.754  5814  5840 I VrIntegration: current device has 8 cores, app can use 8 cores, max core freq 2304000, high perf core mask 0x000000f0
08-14 17:39:07.754  5814  5840 I VrIntegration: BuildModelName Quest : Usable Cores 8 HighPerfCoreMask 240
08-14 17:39:07.755  5814  5840 E OVRPlugin: FindClass( com/oculus/utilities/HeadsetReceiver ) failed (C:\cygwin\data\sandcastle\boxes\trunk-hg-ovrsource-full\Software\OculusSDK\Integrations\OVRPlugin\Main\Src\Util\JniUtils.cpp:110)
08-14 17:39:07.755  5814  5840 D OVRPlugin: JNI exception before DeleteLocalRef!
08-14 17:39:07.756  5814  5840 E OVRPlugin: FindClass( com/oculus/utilities/VolumeReceiver ) failed (C:\cygwin\data\sandcastle\boxes\trunk-hg-ovrsource-full\Software\OculusSDK\Integrations\OVRPlugin\Main\Src\Util\JniUtils.cpp:110)
08-14 17:39:07.756  5814  5840 D OVRPlugin: JNI exception before DeleteLocalRef!
08-14 17:39:07.757  5814  5840 E OVRPlugin: FindClass( com/oculus/utilities/BatteryReceiver ) failed (C:\cygwin\data\sandcastle\boxes\trunk-hg-ovrsource-full\Software\OculusSDK\Integrations\OVRPlugin\Main\Src\Util\JniUtils.cpp:110)
08-14 17:39:07.757  5814  5840 D OVRPlugin: JNI exception before DeleteLocalRef!
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470] JNI DETECTED ERROR IN APPLICATION: RegisterNatives received NULL jclass
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]     in call to RegisterNatives
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]     from boolean com.unity3d.player.UnityPlayer.nativeRender()
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470] "UnityMain" prio=5 tid=18 Runnable
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   | group="main" sCount=0 dsCount=0 obj=0x12d124c0 self=0xde353200
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   | sysTid=5840 nice=0 cgrp=default sched=0/0 handle=0xcdc7f920
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   | state=R schedstat=( 471687956 1467656 332 ) utm=30 stm=17 core=7 HZ=100
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   | stack=0xcdb7d000-0xcdb7f000 stackSize=1038KB
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   | held mutexes= "mutator lock"(shared held)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #00 pc 0037b4f5  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+128)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #01 pc 0035b24b  /system/lib/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+302)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #02 pc 00253d21  /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+812)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #03 pc 00253f65  /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+64)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #04 pc 000cd70b  /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+46)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #05 pc 000cceeb  /system/lib/libart.so (_ZN3art11ScopedCheck13CheckInstanceERNS_18ScopedObjectAccessENS0_12InstanceKindEP8_jobjectb+354)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #06 pc 000cc3bd  /system/lib/libart.so (_ZN3art11ScopedCheck22CheckPossibleHeapValueERNS_18ScopedObjectAccessEcNS_12JniValueTypeE+188)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #07 pc 000cb6bb  /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE+810)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #08 pc 000c8ccb  /system/lib/libart.so (_ZN3art8CheckJNI15RegisterNativesEP7_JNIEnvP7_jclassPK15JNINativeMethodi+454)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #09 pc 0003909d  /data/app/com.Termotank.FernwehVR-2/lib/arm/libOVRPlugin.so (_ZN3OVR4Util15CompositorVRAPI10InitializeEv+460)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #10 pc 0003fe09  /data/app/com.Termotank.FernwehVR-2/lib/arm/libOVRPlugin.so (_ZN3OVR4Util15CompositorVRAPI6CreateE17ovrpRenderAPITypePFv12ovrpLogLevelPKcEPvS8_S8_S8_S8_iRK11ovrpVersionPPNS0_10CompositorE+108)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #11 pc 00028fb7  /data/app/com.Termotank.FernwehVR-2/lib/arm/libOVRPlugin.so (ovrp_Initialize5+118)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #12 pc 00886e60  /data/app/com.Termotank.FernwehVR-2/lib/arm/libunity.so (???)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #13 pc 008866cc  /data/app/com.Termotank.FernwehVR-2/lib/arm/libunity.so (???)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #14 pc 00513674  /data/app/com.Termotank.FernwehVR-2/lib/arm/libunity.so (???)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #15 pc 0050ffbc  /data/app/com.Termotank.FernwehVR-2/lib/arm/libunity.so (???)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #16 pc 001e9d10  /data/app/com.Termotank.FernwehVR-2/lib/arm/libunity.so (???)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #17 pc 003e9320  /data/app/com.Termotank.FernwehVR-2/lib/arm/libunity.so (???)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #18 pc 00312088  /data/app/com.Termotank.FernwehVR-2/lib/arm/libunity.so (???)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #19 pc 0030c1e4  /data/app/com.Termotank.FernwehVR-2/lib/arm/libunity.so (???)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   native: #20 pc 00016ed1  /data/app/com.Termotank.FernwehVR-2/oat/arm/base.odex (Java_com_unity3d_player_UnityPlayer_nativeRender__+76)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   at com.unity3d.player.UnityPlayer.nativeRender(Native method)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   at com.unity3d.player.UnityPlayer.c(:-1)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   at com.unity3d.player.UnityPlayer$e$2.queueIdle(:-1)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   at android.os.MessageQueue.next(MessageQueue.java:392)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   at android.os.Looper.loop(Looper.java:136)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]   at com.unity3d.player.UnityPlayer$e.run(:-1)
08-14 17:39:07.776  5814  5840 F art     : art/runtime/java_vm_ext.cc:470]
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422] Runtime aborting...
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422] Aborting thread:
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422] "UnityMain" prio=5 tid=18 Native
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   | group="" sCount=0 dsCount=0 obj=0x12d124c0 self=0xde353200
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   | sysTid=5840 nice=0 cgrp=default sched=0/0 handle=0xcdc7f920
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   | state=R schedstat=( 491503163 1467656 332 ) utm=32 stm=17 core=7 HZ=100
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   | stack=0xcdb7d000-0xcdb7f000 stackSize=1038KB
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   | held mutexes= "abort lock"
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #00 pc 0037b4f5  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+128)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #01 pc 0035b24b  /system/lib/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+302)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #02 pc 0034dde5  /system/lib/libart.so (_ZNK3art10AbortState10DumpThreadERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+24)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #03 pc 0034dc61  /system/lib/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+424)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #04 pc 003445dd  /system/lib/libart.so (_ZN3art7Runtime5AbortEPKc+96)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #05 pc 000b7161  /system/lib/libart.so (_ZN3art10LogMessageD2Ev+964)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #06 pc 00253ebd  /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+1224)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #07 pc 00253f65  /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+64)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #08 pc 000cd70b  /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+46)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #09 pc 000cceeb  /system/lib/libart.so (_ZN3art11ScopedCheck13CheckInstanceERNS_18ScopedObjectAccessENS0_12InstanceKindEP8_jobjectb+354)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #10 pc 000cc3bd  /system/lib/libart.so (_ZN3art11ScopedCheck22CheckPossibleHeapValueERNS_18ScopedObjectAccessEcNS_12JniValueTypeE+188)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #11 pc 000cb6bb  /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE+810)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #12 pc 000c8ccb  /system/lib/libart.so (_ZN3art8CheckJNI15RegisterNativesEP7_JNIEnvP7_jclassPK15JNINativeMethodi+454)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #13 pc 0003909d  /data/app/com.Termotank.FernwehVR-2/lib/arm/libOVRPlugin.so (_ZN3OVR4Util15CompositorVRAPI10InitializeEv+460)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #14 pc 0003fe09  /data/app/com.Termotank.FernwehVR-2/lib/arm/libOVRPlugin.so (_ZN3OVR4Util15CompositorVRAPI6CreateE17ovrpRenderAPITypePFv12ovrpLogLevelPKcEPvS8_S8_S8_S8_iRK11ovrpVersionPPNS0_10CompositorE+108)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #15 pc 00028fb7  /data/app/com.Termotank.FernwehVR-2/lib/arm/libOVRPlugin.so (ovrp_Initialize5+118)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #16 pc 00886e60  /data/app/com.Termotank.FernwehVR-2/lib/arm/libunity.so (???)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #17 pc 008866cc  /data/app/com.Termotank.FernwehVR-2/lib/arm/libunity.so (???)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #18 pc 00513674  /data/app/com.Termotank.FernwehVR-2/lib/arm/libunity.so (???)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #19 pc 0050ffbc  /data/app/com.Termotank.FernwehVR-2/lib/arm/libunity.so (???)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #20 pc 001e9d10  /data/app/com.Termotank.FernwehVR-2/lib/arm/libunity.so (???)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #21 pc 003e9320  /data/app/com.Termotank.FernwehVR-2/lib/arm/libunity.so (???)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #22 pc 00312088  /data/app/com.Termotank.FernwehVR-2/lib/arm/libunity.so (???)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #23 pc 0030c1e4  /data/app/com.Termotank.FernwehVR-2/lib/arm/libunity.so (???)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   native: #24 pc 00016ed1  /data/app/com.Termotank.FernwehVR-2/oat/arm/base.odex (???)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   at com.unity3d.player.UnityPlayer.nativeRender(Native method)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   at com.unity3d.player.UnityPlayer.c(:-1)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   at com.unity3d.player.UnityPlayer$e$2.queueIdle(:-1)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   at android.os.MessageQueue.next(MessageQueue.java:392)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   at android.os.Looper.loop(Looper.java:136)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422]   at com.unity3d.player.UnityPlayer$e.run(:-1)
08-14 17:39:07.829  5814  5840 F art     : art/runtime/runtime.cc:422] Dumping all threads without appropriate locks held: thread list lock mutator lock

3 REPLIES 3

dr3d
Explorer
the 3 dots hanging thing - getting that a lot too

roberthendry84
Honored Guest
I'm getting almost the exact same error code on my Oculus Go every time I try to run my app after uploading. I've tried updating Unity to 2018.4.6 from an earlier version, and updated the Oculus Integration to the most recent version but nothing has worked. It just goes to a black screen and crashes, starting with this error readout. I hope someone can help us

roberthendry84
Honored Guest
After about a week of upgrading programs, and testing different settings, what finally worked for me was to not use Minify at all. Both 'Proguard' and 'Gradle (experimental)' minify options caused the game to error out and crash with a 'java_class == null' error. Removing them allowed me to finally get it working and to test the leaderboards 🙂 Hope this helps someone 🙂