Hey everyone,
Is it possible to add multiple cameras to a scene when using Unity XR?
Whenever I add another, it seems to think it’s the head of an XRRig, updating the position and rotation to match the HMD. It is however neither attached to the rig nor tagged as the “MainCamera”.
The extra camera is used as an overlay for the player’s hands and UI.
What I’ve noticed is that by disabling the Camera component, it doesn’t seem to behave like this anymore. I then thought of attaching a script to the mainCamera and manually rendering the overlayCamera in the PostRender() method, however this produced some weird results!
Not sure if this is a bug or not, but I’ve been battling with this for longer than I’d like to admit haha. If anyone has any suggestions, I would really appreciate the help! ![]()
Thank you for your time!