ValveSoftware / unity-xr-plugin

OpenVR plugin for Unity's XR API
BSD 3-Clause "New" or "Revised" License
309 stars 64 forks source link

DllNotFoundException: XRSDKOpenVR #115

Open sutee9 opened 2 years ago

sutee9 commented 2 years ago

The old issue #15 appears again, this time on a Mac with M1 chip. The error can be traced back to the file XRSDKOpenVR.dll which is marked as Processory x86, but on ANY OS, which obviously is wrong.

If the package is incompatible with M1 macs, it should give a clear error message. Or if it is, this should be fixed.

DllNotFoundException: XRSDKOpenVR Unity.XR.OpenVR.OpenVRLoader.Initialize () (at Library/PackageCache/com.valvesoftware.unity.openvr@9508838e2de4-1614121125000/Runtime/OpenVRLoader.cs:185) UnityEngine.XR.Management.XRManagerSettings.InitializeLoaderSync () (at Library/PackageCache/com.unity.xr.management@4.0.1/Runtime/XRManagerSettings.cs:187) UnityEngine.XR.Management.XRGeneralSettings.InitXRSDK () (at Library/PackageCache/com.unity.xr.management@4.0.1/Runtime/XRGeneralSettings.cs:175) UnityEngine.XR.Management.XRGeneralSettings.AttemptInitializeXRSDKOnLoad () (at Library/PackageCache/com.unity.xr.management@4.0.1/Runtime/XRGeneralSettings.cs:148)

kisak-valve commented 2 years ago

Hello @sutee9, unfortunately, support for SteamVR for Mac was discontinued (https://store.steampowered.com/news/app/250820/view/2216278054495230717). This was before OpenXR integration was added to SteamVR and the combination is not supported.

sutee9 commented 2 years ago

Not really the point. The same project runs and builds on an old intel mac. On the new one it fails without proper error messages. Basically, now it’s just loose ends.

icormier commented 2 years ago

@sutee9 did you manage to fix this issue?

sutee9 commented 2 years ago

I do not think there is a solution, SteamVR does not work on M1.

icormier commented 2 years ago

Thank you for taking the time to reply me

On Tue, Mar 15, 2022 at 3:17 PM sutee9 @.***> wrote:

I do not think there is a solution, SteamVR does not work on M1.

— Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/unity-xr-plugin/issues/115#issuecomment-1068369718, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT3RWFPANCT7SG5RAEZYNTTVADO6FANCNFSM5NMPBFUA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

-- Ian Cormier Lead Technical Artist | Lucky VR 438-580-6640 | www.getluckyVR.com