Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

User Reporting SDK Compile errors

Discussion in 'Package Manager' started by OddHouseGames, Apr 28, 2021.

  1. OddHouseGames

    OddHouseGames

    Joined:
    Oct 2, 2018
    Posts:
    8
    I just imported the User Reporting SDK and ran into some compiler issues:
    • All compiler errors have to be fixed before you can enter playmode! UnityEditor.SceneView:ShowCompileErrorNotification () (at /Users/bokken/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:3692)

    • Assets/UserReporting/Scripts/UserReportingXRExtensions.cs(15,13): error CS0619: 'XRDevice.isPresent' is obsolete: 'This is obsolete, and should no longer be used. Instead, find the active XRDisplaySubsystem and check that the running property is true (for details, see XRDevice.isPresent documentation).'

    • Assets/UserReporting/Scripts/UserReportingXRExtensions.cs(17,90): error CS0117: 'XRDevice' does not contain a definition for 'model'

    • Assets/UserReporting/Scripts/UserReportingXRExtensions.cs(23,13): error CS0619: 'XRDevice.isPresent' is obsolete: 'This is obsolete, and should no longer be used. Instead, find the active XRDisplaySubsystem and check that the running property is true (for details, see XRDevice.isPresent documentation).'
    Any ideas on what is causing this or how to fix it?
     
  2. OddHouseGames

    OddHouseGames

    Joined:
    Oct 2, 2018
    Posts:
    8
    This issue was resolved by removing the XR script from the folder in safe mode.
     
    AugustaLussen and masterton like this.
  3. CoolBoy007

    CoolBoy007

    Joined:
    Jul 1, 2022
    Posts:
    1
    Could you be more specific about removing the XR script ? And what the XR script should be resolved?
     
    Last edited: Jul 20, 2022
  4. unity_UTLRO2JE6PLPYg

    unity_UTLRO2JE6PLPYg

    Joined:
    Aug 11, 2022
    Posts:
    1
    Library\PackageCache\com.unity.test-framework.performance@1.0.9-preview\Runtime\PlaymodeMetadataCollector.cs(106,47): error CS0117: 'XRDevice' does not contain a definition for 'model'

    I'm getting this error in the unity test framework performance package. I'm not able to find any solutions for it. any idea?