OpenXR Settings wont save

Not sure what is causing this, but any time I change any the OpenXR Settings in the XR Pluin-in Management Project settings, they are reverted upon re-entering unity. All of my other project settings are saving fine.

Anyone encounter this before?

Same for me on Unity 6. Did you get to fix it? @flipwon

Update: I got to fix it partially!
Now I can save the OpenXR-Interaction Profiles settings for Android, this is being saved automatically in Assets/XR/Settings/OpenXR Package Settings.asset. I had to install the xr.hands package (non-meta) to achieve this.
I still can’t get to save any of the OpenXR Feature Groups in Android. And any other setting in the Windows tab.

Yeah, this is pretty bad. There’s definitely an Editor serialization bug in their package code, but like @tomytomas93 I was able to figure out that you can work around this by manually editing the OpenXR Package Settings.asset file. My workaround didn’t require installing anything in addition, though.

In my case, I needed to enable “Meta Quest Support” and “Oculus Touch Controller Interaction Profile” (and keep them enabled for anyone else who needed to open the project, future me included). So I searched for the entries containing these display names in that .asset file, found the corresponding m_enabled (all lower-case) properties, and flipped each 0 value to 1. Worked like a charm!

NOTE: There is also an m_Enabled property (upper-case “E”) – this is NOT the one you want to touch!

edit: this fix should be future-proof for whenever Unity gets around to fixing their serialization bug.

Thanks! This solution worked.

solution: upgrade OpenXR package to 1.14.2 minimum

changelog: * Fixed an issue that enabled interaction profiles setting not being saved after reopened the project.