Forum Discussion

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

Avatar 2 SDK - Non-VR PC Build Issues

Hello!

So, I've been working on implementing the Avatar 2 SDK, and I've run into a difficult issue with builds.
We maintain a single application that builds both for Meta Quest platform and for a Non-VR PC Companion.

Both share a single main scene, with OVR rig disabled at runtime, and we have not had any issues to date with that setup. I've done the same with Avatars: In VR they will be toggled on, otherwise they are off. We have now successfully built a Quest version of the app with Avatars, but when we try to build for PC, the project crashes.

I'll include a crash log in case there is anything in there that may help.

I've attempted to repro this with a clean project (having only the Oculus SDK and Avatar SDK, but have so far been unsuccessful. Unfortunately, I'm unable to upload the project this is happening in, so I will continue trying to repro on a clean project.

Details:
Unity Version: 2021.2.16f1

Oculus SDK Version: 46.0
OvrAvatar2 Version: 18.0.0.55.79
Using OpenXR Backend for Ovr
Oculus XR Plugin in Plugin Management

Crash Report and Editor Log