Search Unity

[HoloLens] WSA does not exist in the namespace

Discussion in 'VR' started by quentin-19, Aug 18, 2017.

  1. quentin-19

    quentin-19

    Joined:
    May 7, 2015
    Posts:
    5
    Hi,

    Not sure if it's an issue on my end but with Unity Beta 2017.2.0b7
    I'm getting this error
    error CS0234: The type or namespace name `WSA' does not exist in the namespace `UnityEngine.VR'. Are you missing an assembly reference?

    But the namespace UnityEngine.VR does exist with some classes accessibles. Did the API change? Or am i missing something here?

    I wanted to call UnityEngine.VR.WSA.HolographicSettings.SetFocusPointForFrame

    Thanks in advance,
    Sincerely
     
  2. quentin-19

    quentin-19

    Joined:
    May 7, 2015
    Posts:
    5
    Ah my bad, it changed to namespace UnityEngine.XR.WSA
     
    bandhakavi and Zero_MSN like this.
  3. Zero_MSN

    Zero_MSN

    Joined:
    Oct 21, 2017
    Posts:
    1
    Thank you. That really helped me out.
     
    HikariJoy likes this.
  4. JasonCostanza

    JasonCostanza

    Unity Technologies

    Joined:
    May 23, 2017
    Posts:
    404
    Hi there,

    Glad you guys got it sorted out. This is actually a bug on our side that we're already tracking, just wanted to let you guys know it's on our radar.