Search Unity

Resolved XR errors with Oculus

Discussion in 'VR' started by Tomza, Jun 25, 2020.

Thread Status:
Not open for further replies.
  1. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    Hello all,

    I have installed the XR plugins for developing with using Oculus VR. Suddenly, however, we got strange errors because of XR.

    Code (CSharp):
    1.  
    2. -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Unity.XR.WindowsMixedReality.dll
    3. Microsoft (R) Visual C# Compiler version 2.9.1.65535 (9d34608e)
    4. Copyright (C) Microsoft Corporation. All rights reserved.
    5.  
    6. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\Session\WindowsMRSessionSubsystem.cs(15,28): error CS0246: The type or namespace name 'IProvider' could not be found (are you missing a using directive or an assembly reference?)
    7. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\ReferencePoint\WindowsMRReferencePointSubsystem.cs(20,28): error CS0246: The type or namespace name 'IProvider' could not be found (are you missing a using directive or an assembly reference?)
    8. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\Session\WindowsMRSessionSubsystem.cs(15,38): error CS0508: 'WindowsMRSessionSubsystem.CreateProvider()': return type must be 'XRSessionSubsystem.Provider' to match overridden member 'XRSessionSubsystem.CreateProvider()'
    9. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\Session\WindowsMRSessionSubsystem.cs(20,15): warning CS0108: 'WindowsMRSessionSubsystem.Provider' hides inherited member 'XRSessionSubsystem.Provider'. Use the new keyword if hiding was intended.
    10. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\ReferencePoint\WindowsMRReferencePointSubsystem.cs(20,38): error CS0508: 'WindowsMRReferencePointSubsystem.CreateProvider()': return type must be 'XRAnchorSubsystem.Provider' to match overridden member 'XRAnchorSubsystem.CreateProvider()'
    11. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\ReferencePoint\WindowsMRReferencePointSubsystem.cs(25,15): warning CS0108: 'WindowsMRReferencePointSubsystem.Provider' hides inherited member 'XRAnchorSubsystem.Provider'. Use the new keyword if hiding was intended.
    12. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\Session\WindowsMRSessionSubsystem.cs(20,26): error CS0246: The type or namespace name 'IProvider' could not be found (are you missing a using directive or an assembly reference?)
    13. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\InputSystem\DeviceLayouts.cs(21,31): warning CS0108: 'WMRHMD.trackingState' hides inherited member 'TrackedDevice.trackingState'. Use the new keyword if hiding was intended.
    14. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\InputSystem\DeviceLayouts.cs(24,30): warning CS0108: 'WMRHMD.isTracked' hides inherited member 'TrackedDevice.isTracked'. Use the new keyword if hiding was intended.
    15. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\InputSystem\DeviceLayouts.cs(27,31): warning CS0108: 'WMRHMD.devicePosition' hides inherited member 'TrackedDevice.devicePosition'. Use the new keyword if hiding was intended.
    16. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\InputSystem\DeviceLayouts.cs(30,34): warning CS0108: 'WMRHMD.deviceRotation' hides inherited member 'TrackedDevice.deviceRotation'. Use the new keyword if hiding was intended.
    17. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\InputSystem\DeviceLayouts.cs(33,31): warning CS0108: 'WMRHMD.leftEyePosition' hides inherited member 'XRHMD.leftEyePosition'. Use the new keyword if hiding was intended.
    18. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\InputSystem\DeviceLayouts.cs(36,34): warning CS0108: 'WMRHMD.leftEyeRotation' hides inherited member 'XRHMD.leftEyeRotation'. Use the new keyword if hiding was intended.
    19. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\InputSystem\DeviceLayouts.cs(39,31): warning CS0108: 'WMRHMD.rightEyePosition' hides inherited member 'XRHMD.rightEyePosition'. Use the new keyword if hiding was intended.
    20. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\InputSystem\DeviceLayouts.cs(42,34): warning CS0108: 'WMRHMD.rightEyeRotation' hides inherited member 'XRHMD.rightEyeRotation'. Use the new keyword if hiding was intended.
    21. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\InputSystem\DeviceLayouts.cs(45,31): warning CS0108: 'WMRHMD.centerEyePosition' hides inherited member 'XRHMD.centerEyePosition'. Use the new keyword if hiding was intended.
    22. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\InputSystem\DeviceLayouts.cs(48,34): warning CS0108: 'WMRHMD.centerEyeRotation' hides inherited member 'XRHMD.centerEyeRotation'. Use the new keyword if hiding was intended.
    23. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\ReferencePoint\WindowsMRReferencePointSubsystem.cs(25,26): error CS0246: The type or namespace name 'IProvider' could not be found (are you missing a using directive or an assembly reference?)
    24. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\InputSystem\DeviceLayouts.cs(78,31): warning CS0108: 'HololensHand.trackingState' hides inherited member 'TrackedDevice.trackingState'. Use the new keyword if hiding was intended.
    25. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\InputSystem\DeviceLayouts.cs(81,30): warning CS0108: 'HololensHand.isTracked' hides inherited member 'TrackedDevice.isTracked'. Use the new keyword if hiding was intended.
    26. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\InputSystem\DeviceLayouts.cs(84,31): warning CS0108: 'HololensHand.devicePosition' hides inherited member 'TrackedDevice.devicePosition'. Use the new keyword if hiding was intended.
    27. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\InputSystem\DeviceLayouts.cs(87,34): warning CS0108: 'HololensHand.deviceRotation' hides inherited member 'TrackedDevice.deviceRotation'. Use the new keyword if hiding was intended.
    28. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\Session\WindowsMRSessionSubsystem.cs(27,58): error CS0115: 'WindowsMRSessionSubsystem.Provider.GetAvailabilityAsync()': no suitable method found to override
    29. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\Session\WindowsMRSessionSubsystem.cs(34,43): error CS0115: 'WindowsMRSessionSubsystem.Provider.trackingState': no suitable method found to override
    30. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\Session\WindowsMRSessionSubsystem.cs(42,47): error CS0115: 'WindowsMRSessionSubsystem.Provider.notTrackingReason': no suitable method found to override
    31. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\Session\WindowsMRSessionSubsystem.cs(50,34): error CS0115: 'WindowsMRSessionSubsystem.Provider.Destroy()': no suitable method found to override
    32. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\Session\WindowsMRSessionSubsystem.cs(54,34): error CS0115: 'WindowsMRSessionSubsystem.Provider.Pause()': no suitable method found to override
    33. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\Session\WindowsMRSessionSubsystem.cs(59,34): error CS0115: 'WindowsMRSessionSubsystem.Provider.Resume()': no suitable method found to override
    34. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\Session\WindowsMRSessionSubsystem.cs(64,34): error CS0115: 'WindowsMRSessionSubsystem.Provider.Reset()': no suitable method found to override
    35. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\ReferencePoint\WindowsMRReferencePointSubsystem.cs(43,17): error CS0619: 'XRReferencePoint' is obsolete: 'XRReferencePoint has been deprecated. Use XRReferencePoint instead (UnityUpgradable) -> UnityEngine.XR.ARSubsystems.XRReferencePoint'
    36. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\ReferencePoint\WindowsMRReferencePointSubsystem.cs(42,53): error CS0619: 'XRReferencePoint' is obsolete: 'XRReferencePoint has been deprecated. Use XRReferencePoint instead (UnityUpgradable) -> UnityEngine.XR.ARSubsystems.XRReferencePoint'
    37. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\ReferencePoint\WindowsMRReferencePointSubsystem.cs(71,21): error CS0619: 'XRReferencePoint' is obsolete: 'XRReferencePoint has been deprecated. Use XRReferencePoint instead (UnityUpgradable) -> UnityEngine.XR.ARSubsystems.XRReferencePoint'
    38. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\ReferencePoint\WindowsMRReferencePointSubsystem.cs(27,34): error CS0115: 'WindowsMRReferencePointSubsystem.Provider.Start()': no suitable method found to override
    39. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\ReferencePoint\WindowsMRReferencePointSubsystem.cs(32,34): error CS0115: 'WindowsMRReferencePointSubsystem.Provider.Stop()': no suitable method found to override
    40. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\ReferencePoint\WindowsMRReferencePointSubsystem.cs(37,34): error CS0115: 'WindowsMRReferencePointSubsystem.Provider.Destroy()': no suitable method found to override
    41. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\ReferencePoint\WindowsMRReferencePointSubsystem.cs(42,71): error CS0115: 'WindowsMRReferencePointSubsystem.Provider.GetChanges(XRReferencePoint, Allocator)': no suitable method found to override
    42. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\ReferencePoint\WindowsMRReferencePointSubsystem.cs(69,34): error CS0115: 'WindowsMRReferencePointSubsystem.Provider.TryAddReferencePoint(Pose, out XRReferencePoint)': no suitable method found to override
    43. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\ReferencePoint\WindowsMRReferencePointSubsystem.cs(76,34): error CS0115: 'WindowsMRReferencePointSubsystem.Provider.TryRemoveReferencePoint(TrackableId)': no suitable method found to override
    44. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\ReferencePoint\WindowsMRReferencePointSubsystem.cs(142,25): error CS0619: 'XRReferencePoint' is obsolete: 'XRReferencePoint has been deprecated. Use XRReferencePoint instead (UnityUpgradable) -> UnityEngine.XR.ARSubsystems.XRReferencePoint'
    45. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\InputSystem\DeviceLayouts.cs(152,31): warning CS0108: 'WMRSpatialController.trackingState' hides inherited member 'TrackedDevice.trackingState'. Use the new keyword if hiding was intended.
    46. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\InputSystem\DeviceLayouts.cs(155,30): warning CS0108: 'WMRSpatialController.isTracked' hides inherited member 'TrackedDevice.isTracked'. Use the new keyword if hiding was intended.
    47. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\InputSystem\DeviceLayouts.cs(158,31): warning CS0108: 'WMRSpatialController.devicePosition' hides inherited member 'TrackedDevice.devicePosition'. Use the new keyword if hiding was intended.
    48. Library\PackageCache\com.unity.xr.windowsmr@2.2.0\Runtime\InputSystem\DeviceLayouts.cs(161,34): warning CS0108: 'WMRSpatialController.deviceRotation' hides inherited member 'TrackedDevice.deviceRotation'. Use the new keyword if hiding was intended.
    49. -----CompilerOutput:-stderr----------
    50. -----EndCompilerOutput---------------
    51. - Finished script compilation in 0.174023 seconds
    52.  
    53.  
    upload_2020-6-25_19-15-50.png upload_2020-6-25_19-15-50.png
     
    Last edited: Jun 25, 2020
    VincentMarnier likes this.
  2. lmartellmc

    lmartellmc

    Joined:
    Aug 3, 2018
    Posts:
    23
    I'm experiencing the same issue. Except for me I had an Oculus project and tried to install WindowsMR. Unity 2019.4.13f1
     
  3. mfuad

    mfuad

    Unity Technologies

    Joined:
    Jun 12, 2018
    Posts:
    335
    Can you file a bug so our team can properly track and investigate? Thanks!
     
Thread Status:
Not open for further replies.