The “VR HUD Canvas” Edition
· 2 min read
VR HUD Support
VR is now supported when using a Screen Space canvas. Here’s a guide on how to get it working.
- Create an Empty Object, this will be your HUD object.
- Convert it into a prefab right away (not required, but recommended).
- Open the prefab, add a UI > Canvas object under your Empty Object. Make sure it’s set to Screen Space Overlay.
- Add the Rec Room Object component to your Empty Object, then add the Rec Room Studio HUD Canvas component to your Canvas.
- Delete the Graphic Raycaster component under your Canvas (keep it if you’re making a World Space UI, but if you keep it as a Screen Space Overlay, you’ll get an error asking you to delete this component when attempting to upload).
- Add all your HUD elements under your Canvas.
- You can add TextMeshPro text, images, etc. and create events under your Empty Object to change your HUD using circuits.
Note: Recommended settings for the Canvas Scaler component are the following:
General Changes & Bug Fixes
- Fixed vertex colors for the Rec Room Studio/Lit shader.
- Disabled the detail map section until it can be supported in-game.
- Added some error reasons as to why opening a room would fail sometimes.
- Improved Copy + Paste in Rec Room Studio to make it harder to accidentally paste mixed selections of Studio and non-Studio objects in Unity, which does not copy the Maker Pen objects correctly.
- Fixed several bugs that could cause 'Upload & Build' to fail silently.
- Fixed an issue causing the Rec Room Object Reset chip to fail on Studio objects for non-authority players.
- Using .dds & .texture2d files that contained compressed texture data would cause 'Upload & Build' to fail. So we added a room error when one of these formats is used.
If you find any bugs, or need help, make use of the Rec Room Studio discord server and the respective forums to provide feedback, request help or log bugs!