Meta Quest Runtime Optimizer Plugin might cause Unity build errors
We recently discovered the Meta Quest Runtime Optimizer and were excited to try it - it really helped improve our app's performance initially.
However, build errors suddenly appeared out of nowhere. Same project, same settings, everything identical to our working builds from the day before.
Errors encountered:
- Duplicate libopenxr_loader.so conflicts during build
- java.lang.StackOverflowError in Gradle
- After resolving build conflicts with pickFirst, app launched with sound only (stuck at loading screen)
Attempted fixes:
- Added pickFirst rules in launcher Gradle template (fixed build, but app still broken)
- Removed and reimported Meta XR All-in-One SDK (no change)
Solution: Removing the Meta Quest Runtime Optimizer plugin completely resolved all issues. Build succeeds and app runs normally again.
Has anyone else experienced similar conflicts with the Runtime Optimizer? We really like this feature but this .
Environment:
- Unity 2022.3.53f1
- Meta XR All-in-One SDK (for the utilities) 78.0.0
- Meta Quest Runtime Optimizer 0.1.0
- OpenXR with Meta Quest Support enabled
Would appreciate hearing from others who've encountered this or successfully use the Runtime Optimizer without issues. Thanks !
