Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
licas.chiu's avatar
licas.chiu
Honored Guest
5 months ago

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
  • 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.