Skip to main content
New Participant
February 15, 2022

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?

 

2 replies

New Participant
March 3, 2022

Heya,

Did you ever get a fix for this as we seem to be running into the same issue.

Kind regards,
Rocky

New Participant
March 7, 2022

The Enterprise quest is locked to v29 of the Oculus OS. So you have to downgrade the SDK in unity to v29 as well. (https://developer.oculus.com/downloads/package/unity-integration-archive/29.0/)