Hi, I opened this in my unity 2019.3 and the console flashed 14 warnings that the code is having some obsolete parts.
The details are as below:-
Assets\WebXR\Scripts\WebXRManager.cs(25,16): warning CS0618: 'TrackingSpaceType' is obsolete: 'This is obsolete, and should no longer be used. Please use InputTrackingModeFlags.'
Assets\WebXR\Scripts\WebXRManager.cs(25,50): warning CS0618: 'TrackingSpaceType' is obsolete: 'This is obsolete, and should no longer be used. Please use InputTrackingModeFlags.'
Assets\WebXR\Scripts\WebXRManager.cs(124,17): warning CS0618: 'XRDevice.SetTrackingSpaceType(TrackingSpaceType)' is obsolete: 'This is obsolete, and should no longer be used. Please use XRInputSubsystem.TrySetTrackingOriginMode.'
Assets\WebXR\Scripts\WebXRManager.cs(125,48): warning CS0618: 'XRDevice.GetTrackingSpaceType()' is obsolete: 'This is obsolete, and should no longer be used. Please use XRInputSubsystem.GetTrackingOriginMode.'
Assets\WebXR\Scripts\WebXRController.cs(287,21): warning CS0618: 'InputTracking.GetLocalPosition(XRNode)' is obsolete: 'This API is obsolete, and should no longer be used. Please use InputDevice.TryGetFeatureValue with the CommonUsages.devicePosition usage instead.'
Assets\WebXR\Scripts\WebXRController.cs(288,21): warning CS0618: 'InputTracking.GetLocalRotation(XRNode)' is obsolete: 'This API is obsolete, and should no longer be used. Please use InputDevice.TryGetFeatureValue with the CommonUsages.deviceRotation usage instead.'
Assets\WebXR\Scripts\WebXRController.cs(289,21): warning CS0618: 'InputTracking.GetLocalRotation(XRNode)' is obsolete: 'This API is obsolete, and should no longer be used. Please use InputDevice.TryGetFeatureValue with the CommonUsages.deviceRotation usage instead.'
Assets\WebXR\Scripts\WebXRController.cs(290,36): warning CS0618: 'InputTracking.GetLocalRotation(XRNode)' is obsolete: 'This API is obsolete, and should no longer be used. Please use InputDevice.TryGetFeatureValue with the CommonUsages.deviceRotation usage instead.'
Assets\WebXR\Scripts\WebXRController.cs(294,36): warning CS0618: 'InputTracking.GetLocalPosition(XRNode)' is obsolete: 'This API is obsolete, and should no longer be used. Please use InputDevice.TryGetFeatureValue with the CommonUsages.devicePosition usage instead.'
Assets\WebXR\Scripts\WebXRController.cs(295,36): warning CS0618: 'InputTracking.GetLocalRotation(XRNode)' is obsolete: 'This API is obsolete, and should no longer be used. Please use InputDevice.TryGetFeatureValue with the CommonUsages.deviceRotation usage instead.'
Assets\WebXR\Scripts\WebXRCamera.cs(9,53): warning CS0649: Field 'WebXRCamera.cameraL' is never assigned to, and will always have its default value null
Assets\WebXR\Scripts\WebXRCamera.cs(9,41): warning CS0649: Field 'WebXRCamera.cameraMain' is never assigned to, and will always have its default value null
Assets\WebXR\Scripts\WebXRCamera.cs(9,62): warning CS0649: Field 'WebXRCamera.cameraR' is never assigned to, and will always have its default value null
Assets\WebXR\Scripts\WebXRCamera.cs(12,27): warning CS0649: Field 'WebXRCamera.postRenderCoroutine' is never assigned to, and will always have its default value null
Reloading assemblies after forced synchronous recompile.
Hi, I opened this in my unity 2019.3 and the console flashed 14 warnings that the code is having some obsolete parts.
The details are as below:- Assets\WebXR\Scripts\WebXRManager.cs(25,16): warning CS0618: 'TrackingSpaceType' is obsolete: 'This is obsolete, and should no longer be used. Please use InputTrackingModeFlags.' Assets\WebXR\Scripts\WebXRManager.cs(25,50): warning CS0618: 'TrackingSpaceType' is obsolete: 'This is obsolete, and should no longer be used. Please use InputTrackingModeFlags.' Assets\WebXR\Scripts\WebXRManager.cs(124,17): warning CS0618: 'XRDevice.SetTrackingSpaceType(TrackingSpaceType)' is obsolete: 'This is obsolete, and should no longer be used. Please use XRInputSubsystem.TrySetTrackingOriginMode.' Assets\WebXR\Scripts\WebXRManager.cs(125,48): warning CS0618: 'XRDevice.GetTrackingSpaceType()' is obsolete: 'This is obsolete, and should no longer be used. Please use XRInputSubsystem.GetTrackingOriginMode.' Assets\WebXR\Scripts\WebXRController.cs(287,21): warning CS0618: 'InputTracking.GetLocalPosition(XRNode)' is obsolete: 'This API is obsolete, and should no longer be used. Please use InputDevice.TryGetFeatureValue with the CommonUsages.devicePosition usage instead.' Assets\WebXR\Scripts\WebXRController.cs(288,21): warning CS0618: 'InputTracking.GetLocalRotation(XRNode)' is obsolete: 'This API is obsolete, and should no longer be used. Please use InputDevice.TryGetFeatureValue with the CommonUsages.deviceRotation usage instead.' Assets\WebXR\Scripts\WebXRController.cs(289,21): warning CS0618: 'InputTracking.GetLocalRotation(XRNode)' is obsolete: 'This API is obsolete, and should no longer be used. Please use InputDevice.TryGetFeatureValue with the CommonUsages.deviceRotation usage instead.' Assets\WebXR\Scripts\WebXRController.cs(290,36): warning CS0618: 'InputTracking.GetLocalRotation(XRNode)' is obsolete: 'This API is obsolete, and should no longer be used. Please use InputDevice.TryGetFeatureValue with the CommonUsages.deviceRotation usage instead.' Assets\WebXR\Scripts\WebXRController.cs(294,36): warning CS0618: 'InputTracking.GetLocalPosition(XRNode)' is obsolete: 'This API is obsolete, and should no longer be used. Please use InputDevice.TryGetFeatureValue with the CommonUsages.devicePosition usage instead.' Assets\WebXR\Scripts\WebXRController.cs(295,36): warning CS0618: 'InputTracking.GetLocalRotation(XRNode)' is obsolete: 'This API is obsolete, and should no longer be used. Please use InputDevice.TryGetFeatureValue with the CommonUsages.deviceRotation usage instead.' Assets\WebXR\Scripts\WebXRCamera.cs(9,53): warning CS0649: Field 'WebXRCamera.cameraL' is never assigned to, and will always have its default value null Assets\WebXR\Scripts\WebXRCamera.cs(9,41): warning CS0649: Field 'WebXRCamera.cameraMain' is never assigned to, and will always have its default value null Assets\WebXR\Scripts\WebXRCamera.cs(9,62): warning CS0649: Field 'WebXRCamera.cameraR' is never assigned to, and will always have its default value null Assets\WebXR\Scripts\WebXRCamera.cs(12,27): warning CS0649: Field 'WebXRCamera.postRenderCoroutine' is never assigned to, and will always have its default value null Reloading assemblies after forced synchronous recompile.