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?
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)
By default the Game view should show the SimulationCamera view, so I’m not sure if you have your Game view configured differently or if you’ve changed some camera settings on the main camera maybe?
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?
Thanks for the quick reply Andy, that was helpful.
Project settings was properly configured, however I didn’t get that I should hold down right click while using the keyboard.
Also, as I just recently switched to Mac, I hadn’t realized the right click behavior on Mac OS wasn’t what I expected, which was the root cause of my issue.
I confirm the XR simulator works as expected in my configuration.
The problem was lying between the chair and the keyboard, thanks for looking into it.
For me all the above solutions have not fixed the problem. The XR Device Simulator is not working correctly. I will also file a bug report. My problem is that the controller and headset are always situated on the floor. The headset can be moved off the floor by using WASD + QE, but the controllers always remain on the floor. Also, the controllers are positioned on top of each other, and the ACTION / SELECT inputs do not work, so I cannot grab or select objects. Rotating the controllers also does not work. Perhaps this is a Unity 6 problem?