Multiple cameras and their automatic positioning

,

Hi there,
I have multiple cameras in a scene and I’d like to control which one is moved to follow tracking by Unity.
At Camera setup in Unity - Mixed Reality | Microsoft Learn it says that the MainCamera tag controls this, however I find that even Untagged cameras are being moved.
To be specific, if I put two cameras without parents in a scene, one of them with the MainCamera tag, one Untagged, I expect the first camera to be moved along with the tracking and the second to stay still (i.e., its image being headlocked). That is what happens in the editor (using HoloToolkit’s camera controls), but in the emulator and the HoloLens both cameras follow the tracking.
Is this a bug or am I misunderstanding this?

Can you clarify what you mean by tracking by Unity?

Sure, I was probably not using the proper terms.
So here’s my mental model, please correct me if I’m wrong:
When the app starts on the HoloLens, Unity’s coordinate system is initialized with the current head position and orientation as the origin and axis orientations, respectively. This coordinate system seems to stay fixed over the lifetime of the app. Movements of the HoloLens device are tracked and move the main camera (*) in Unity accordingly. Similarly, loading world anchors maps from real world locations (in some magic way) to positions and orientations in Unity.

Except that the step marked (*) above seems to apply the device movements to every camera in the scene, not just the one tagged as main camera.
So, for instance, if I place a second camera as a child under the main camera (trying to render a different layer such as an overlay), it does not stay affixed to the main camera by way of being a transform child, but instead it moves in an exaggerated way – seemingly getting the device motions applied as its local transform again, so it adds up to twice the proper motion.
To my understanding this shouldn’t happen.

Interesting that is very strange, I will investigate the issue and see what turns up from the team.

Hi bravey - would you mind filing a bug with a repro project so we can take a closer look! (In the Unity editor, just go to Help and select the “Report a Bug…” option.) Thanks!

Can confirm this is now happening remoting to a HoloLens 1 in 2019.2.12f1. Will file a bug report. Reproducible in new scene with the main camera for the HoloLens, and a second, separate, untagged, camera placed anywhere in the scene. Both camera’s transforms are updated from the HoloLens, instead of the main camera.

Hi, has this issue been fixed yet?

Hi @walshy0020000 , if you filed a bug report can you share the case number so we can track status? @daniel_lochner feel free to file a bug if you’re experiencing similar issues. If it’s already a known issue or something we’ve fixed, the team will let you know.