Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
TSDeveloper's avatar
TSDeveloper
Explorer
4 years ago

Enterprise quest build crashes during app loading

Posting here in case someone is encountering the same issue or can knows a fix.

 

We've created a build of our app (Unity 2021.2.8f1) and loaded onto a consumer and enterprise Quest 2.  Loading the build on the consumer device loads properly, however on the enterprise device the app crashes during loading.

 

Looking at both logcat logs the only difference between the two I can see are

 

Consumer device reports VrRuntimeClient: RUNTIME VERSION = 37.0.0.147.112 Jan 22 2022 20:15:02 RELEASE

Enterprise device reports VrRuntimeClient: RUNTIME VERSION = 29.0.0.271.370 Dec 14 2021 20:15:48 RELEASE

 

And the consumer device calls VrRuntimeServer: CreateTextureSwapChain:

https://gist.github.com/jkredzvr/2df6306a1708d004b980c034da804d4e

 

where as the enterprise device calls  VrRuntimeServer: CreateAndroidSurfaceSwapChain: before throwing a null exception and terminates the app

https://gist.github.com/jkredzvr/120e7bfdf1317c9c7681c576cea56845

 

Does anyone have any ideas as to why Enterprise RUNTIME VERSION 29.0.0 calls CreateAndroidSurfaceSwapChain, which throws a null exception in the build?