Closed SimonDarksideJ closed 2 years ago
The simple resolution to this is to ensure the rig is not regenerated in the editor unless requested.
The runtime resolution should be fine as is, since it will always be using the rig in the scene
So you're requesting to change the camera rig generation to a manual step?
Thought the referred PR, I actually managed to retain the automatic validation of the Rig so the issue no longer occurs. This simply moves the calls for RIg validation to areas that do not cause issue. Functionality for RIg checking still occurs as normal.
Tested
All as before validate the Rig and ensure it is setup as the Camera Config dictates
I noticed that a lot of other tools forego the automatic validation altogether, is this something we should also consider?
Only validate when someone "Configures..." or manually selects "Setup Camera Rig..."
XRTK - Mixed Reality Toolkit Bug Report
Describe the bug
In both a clean project and in XRTK dev, with a scene using a configured XRCameraRig, the toolkit seems to be constantly trying to recreate the rig and in some cases creates multiple.
This causes the error described below to be spammed in to the console.
To Reproduce
(Only tested on Oculus / Android / Standalone atm)
Expected behavior
No warnings if the scene has not changed
Actual behavior
Spam
Screenshots
Error 2 caused during build & run
Your Setup
Additional context
May take some "tweaking" to cause error to occur