Reproduction Steps
Studio Version 0.532.0.5320475 (64bit)
(This can be reproduced the same way in a live game, but doing it in Studio doesn’t require any code to change HeadScale.)
- Open an empty place Studio with VR ready
- Play solo
- In VR, enable the 2D UI so you can activate buttons etc. (If you select the Camera Instance with the desktop mouse, should also see SelectionBoxes.)
- Go back to your desktop and set the Camera’s HeadScale property to something big e.g. 30
- Go back to VR, notice how the 2D UI has resized itself to be much wider/taller, but has not moved farther away from your eyes, so the edges are off the “screen”
- Disable/toggle the 2D UI, notice how it moves back to a comfortable distance
Expected Behavior
At step 5., the 2D UI should also move farther away from your eyes to compensate for it being wider and taller.
Actual Behavior
The 2D UI does not move farther away to compensate for being wider/taller when HeadScale is changed, but subsequent actions by the player (such as toggling the UI) do trigger it to be moved farther away.
(While testing this bug you may also notice how both the default camera scripts in PlayerModule and the VR laser pointers do not respect HeadScale, which is a separate issue.)
Issue Area: Engine
Issue Type: Display
Impact: High
Frequency: Constantly
Date First Experienced: 2022-06-01 00:06:00 (+12:00)