Forum Discussion
licas.chiu
5 months agoHonored Guest
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 !
1 Reply
Replies have been turned off for this discussion
- RiverExplorerStart Partner
I have not had that problem. I have had problems where all of a sudden Unity finds conflicts that did not actually exist. So far, I just had to restart Unity to clear them. In my case, I did not find it related to the optimizer. If it happens again, I'll try that.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 months ago
- 4 months ago