MozillaReality / unity-webxr-export

INACTIVE - Assets for creating WebXR-enabled Unity3D projects.
https://mixedreality.mozilla.org/unity-webxr-export/Build/
Apache License 2.0
622 stars 127 forks source link

Assets/WebXR/Scripts/WebXRCamera.cs(89,26): error CS0117: `UnityEngine.XR.InputDevices' does not contain a definition for `GetDevicesWithCharacteristics' #449

Closed lilithebowman closed 2 years ago

lilithebowman commented 2 years ago

Followed these instructions exactly: https://github.com/MozillaReality/unity-webxr-export/blob/master/docs/project-setup.md

Assets/WebXR/Scripts/WebXRCamera.cs(89,26): error CS0117: 'UnityEngine.XR.InputDevices' does not contain a definition for 'GetDevicesWithCharacteristics'

Assets/WebXR/Scripts/WebXRController.cs(278,18): error CS0246: The type or namespace name 'XRInputSubsystem' could not be found. Are you missing 'UnityEngine.Experimental.XR' using directive?

Assets/WebXR/Scripts/WebXRController.cs(279,13): error CS0103: The name 'SubsystemManager' does not exist in the current context

etc...

Freshly imported copy of the project. Can't run or compile due to compiler errors. Using the proper version of Unity the project was made in.

image image

De-Panther commented 2 years ago

This repo had no update for more than a year. There are other WebXR exporters. https://github.com/De-Panther/unity-webxr-export