Skip to main content
Participant
December 30, 2025
Question

All in one SDK compile errors

When added to a brand new XR sample project in Unity the following compile errors exist:

Library/PackageCache/com.meta.xr.sdk.core@06273138c40d/Scripts/OVRPlugin.cs(4452,16): error CS0029: Cannot implicitly convert type 'bool' to 'OVRPlugin.Result'

Library/PackageCache/com.meta.xr.sdk.core@06273138c40d/Scripts/OVRPlugin.cs(4452,9): error CS0177: The out parameter 'acquiredIndex' must be assigned to before control leaves the current method

Library/PackageCache/com.meta.xr.sdk.core@06273138c40d/Scripts/OVRPlugin.cs(5343,9): error CS0177: The out parameter 'hapticsProperties' must be assigned to before control leaves the current method

This happens in 6000.3.2f1, 6000.1.1f1 and 6000.0.64f1. There is no mention on the store page of it not working in these versions. And no, deleting the Library folder does nothing to fix this.

2 replies

Participant
December 31, 2025

This was done on purpose to screw Linux users who want to experiment regardless of it being a supported platform or not. Thanks. These errors are AMAZING for discovering why something doesn't work /s. Why print a nice error message when you can just return false in a function that expects to return an OVRPlugin.Result and break compliation instead?

New Participant
January 12, 2026

Just ran into this. You have to be kidding me.

These errors seem trivial to fix, but in the context of an external plugin this is a nightmare.