PlayerStart is unstable _ Oculus Quest2 App Dev

Hi all,

I’m doing a spatial perception experiment with UE5 and oculus quest2.
I generated a room environment and set the PlayerStart actor with a fixed position and direction. The UE5 project is built for an android setting and I checked to start the player same as a playerstart actor location. However, when I relaunched the app saved in oculus, the starting location and direction are changed and different every time. It is not a huge change but I need to provide the same conditions to all participants, it’s bit of a problem. My guess is that the oculus is trying to set the playerstart actor to the center of the gardian area, but when an actual person is not in the center of the gardian area it seems like providing offset initial location, but have no idea about the direction. Is there anyone why it happens or how to fix this?

Hi Haheehong,

The first thing to try would be resetting the Oculus position/rotation. Do this by standing in the same spot as your player start + facing the correct direction, then press and hold the Oculus button to reset the player.

Hope that helps, welcome to the Forums!

1 Like

The Player Start Actor defines where the Pawn is spawned, not the Camera’s relative location. You’d have to move the pawn on Begin Play so that the Relative location and rotation of the Camera is = Player Start Actor. You can use the same logic that’s used for the VR Pawn’s Teleport, but feed the location and rotation of the Player Start Actor instead of where the teleport trace hits.

1 Like