Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Question Cannot Navigate in XR Simulator

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

Thread Status:
Not open for further replies.
  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:
    1,178
  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:
    1,178
  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:
    1,178
  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:
    1,178
    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.
     
  9. viniciolindo

    viniciolindo

    Joined:
    Feb 12, 2015
    Posts:
    4
    seems that ar tracked image manager broke simulation wasd controller. when i simply remve this component wasd works again
     
  10. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,178
    I'm locking this thread. Note our FAQ:

    We are not able to reproduce any of the issues reported in this thread. Please file a bug if you are experiencing a bug.

    If you have questions about how simulation works, or would like to share more information about how your project is set up, feel free to make a new forum post. We can't do anything with a one-sentence description of a bug in your project that isn't reproducible in our sample app. https://github.com/Unity-Technologies/arfoundation-samples
     
Thread Status:
Not open for further replies.