Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Cannot Navigate in XR Simulator

Discussion in 'AR' started by romtecmax, Oct 26, 2023.

  1. romtecmax

    romtecmax

    Joined:
    Oct 5, 2022
    Posts:
    4
    Hello everyone

    I downloaded Unity 2023.1 this week and tried to work with the XR Simulator.
    according to my searches, I should be able to navigate the XR Simulator scene with Rightclick + WASD

    This briefly worked two days ago, after about 2 hours of figuring it out - and I don't even know what made the difference in the end. What I remember is setting the Editor Play policy to 'Play Focused' (from 'Play Unfocused'). Then I was able to move around with rightlick+WASD.

    Fast forward 2 days and here I am again struggling to make it work. I have no Idea what to try. In the XR Simulator settings, Navigation is enabled. In the normal Scene window, I can navigate with Rightclick + WASD, just as expected. But when I start the Game / XR Simulation, I can not navigate there at all. Other XR (I'm using AR Foundation 5.1) features seem to work there.

    Does anyone have an idea what could be the problem here?



    Greetings
    romtecmax
     
  2. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    989
  3. kenmaster1979

    kenmaster1979

    Joined:
    Sep 21, 2023
    Posts:
    1
    Encountered the same problem. The sample project cannot be used either.
     
  4. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    989
  5. bmargogne

    bmargogne

    Joined:
    Feb 26, 2016
    Posts:
    4
    Hi !

    I seem to have similar issues : I am working on AR Tracked Image feature.
    • Image tracking works fine on device (but takes forever to build :) )
    • It has worked for a short time using simulation Environment
    • Now, the Tracked image recognition won't work anymore, even from a "blank" project. I can't understand why, as I haven't changed settings related to AR Tracking
    • While "Play", when I drag right mouse click in the Game view, it doesn't appear to update. However, the view in the "Simulation Camera", from the "Scene" Tab, moves accordingly.

    Could you please tell me if I am forgetting an element in the "minimum" list below ?

    • Start blank project
    • Create a "AR Session" in hierarchy (AR Session + AR Input Manager)
    • Create a "XR Origin" + Add ARTrackedImageManager (+ add a testPrefab)
    • Open a Test Environment and insert some gameobject with SimulatedTrackedImage script attached
    • Go to Play mode, and look at the gameobjects using the view from the simulation camera
    • The testPrefab should appear

    Thanks for any hint given, I am really wishing to use the Editor to iterate rather than building on device !
    Bertrand


    (PS : I have Unity 2022.3, with AR Package - Foundation 5.1.1)
     
  6. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    989
  7. lutz_neeeu

    lutz_neeeu

    Joined:
    Jan 14, 2022
    Posts:
    1
    I got the same problem. I cant move the camera or position in the xr simulator in 2022.3.20f1 and 2022.3.13f. I enabled XR Simulation in the Player Settings. Created a new Scene, added AR Session and XR Origin. It does show the Simulation Environment, when i press run but there is no movement on the camera when i keep the right button clicked and press the WASD key. Any news on that issue?
     
  8. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    989
    We run XR Simulation from our sample project all the time without navigation issues. Feel free to file a bug: https://unity3d.com/unity/qa/bug-reporting

    We have not seen any bugs filed for this issue since the last time I posted this FYI.