Forum Discussion
ImmersiveMatthew
3 years agoAdventurer
BUG in OVRConfigurationTask.cs Validation Tool "fix" is Crashing Unity
I have been getting the error below in my Unity 2022.3.11f1 project with the Oculus Integration v57, Oculus XR 4.1.1 when I click "fix" on the error "[Compatibility] Build Target (Unknown) is not supported" in the Project Validation Tool as seen in the screen shot here. I was on the Andriod Platform at the time of this error so unsure why it suggests I fix. When I click on the error the fix created, it takes me to OVRConfigurationTask.cs as the source. I am including a new, fresh project with only the above installed plus the Meta Avatars v20.3 with the hope someone at Meta can take a look. https://drive.google.com/file/d/1z_M8UTlkG7qhQRe9mtgTg1e-vO9V-XAO/view?usp=sharing It can also easier be reproduced via installing the above in a new project.
NullReferenceException: Object reference not set to an instance of an object
OVRConfigurationTask+<>c__DisplayClass51_0.<ToValidationRule>b__2 () (at Assets/Oculus/VR/Editor/OVRProjectSetup/Tasks/OVRConfigurationTask.cs:258)
Unity.XR.CoreUtils.Editor.BuildValidator.FixIssues (System.Collections.Generic.IList`1[T] issues, System.String progressBarTitle) (at ./Library/PackageCache/com.unity.xr.core-utils@2.2.3/Editor/ProjectValidation/BuildValidator.cs:128)
Unity.XR.CoreUtils.Editor.ProjectValidationDrawer.UpdateIssues (System.Boolean focused, System.Boolean force) (at ./Library/PackageCache/com.unity.xr.core-utils@2.2.3/Editor/ProjectValidation/ProjectValidationDrawer.cs:429)
Unity.XR.CoreUtils.Editor.ProjectValidationSettingsProvider.OnInspectorUpdate () (at ./Library/PackageCache/com.unity.xr.core-utils@2.2.3/Editor/ProjectValidation/ProjectValidationSettingsProvider.cs:40)
UnityEditor.SettingsWindow.OnInspectorUpdate () (at <9920ff0c944845d7b9f9a61ef1478edc>:0)
UnityEditor.HostView.OnInspectorUpdate () (at <9920ff0c944845d7b9f9a61ef1478edc>:0)
Thank you
2 Replies
Replies have been turned off for this discussion
- jakobanarkylabsExplorer
I am experiencing the exact same issue. Getting "[Compatibility] Build Target (Unknown) is not supported" in XR Plug-in Management -> Project Validation, and when clicking "Fix" it just runs an endless process that never finishes.
Also, in the Project Validation I am getting this: "[Packages] Oculus must be added to the XR Plugin active loaders". If I click "Fix" on that, it does seem to finish that process, and the validation error is gone, but only until I open the project again - then the error is back.
- ImmersiveMatthewAdventurer
Nope and I even opened a Ticket with Meta and they said to just reinstall the Oculus Integration, but that never resolved it for me. Really not sure what this is talking about. Very odd. Hoping someone can provide some insights.
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
- 2 years ago