Azure / azure-remote-rendering

SDK and samples for Azure Remote Rendering
MIT License
106 stars 38 forks source link

[Remote rendering problem] Camera flipped vertically #68

Closed WikkidEdd closed 2 years ago

WikkidEdd commented 2 years ago

We've noticed occasionally that when starting ARR the camera becomes flipped vertically. It is very rare (maybe 1 in 100) for it to happen and we don't have solid repro steps, but we had a user report that when they connected to ARR that "all content flying around the place, corrupted, messed up" and then they restarted the app and it fixed it. Without knowing exactly what they were seeing it sounds like the possible cause could be the camera being flipped.

We haven't reported it until now as it is so infrequent and there are no solid repro steps, but when our users start reporting it becomes a bit more pressing.

Can you take a look in to it, please? (Sorry for not being able to provide more information)

ChristopherManthei commented 2 years ago

Hi @WikkidEdd , sorry for the inconvenience caused by this. We have found the most likely culprit for the issue. It will be fixed with the next release. In the meantime you can apply the following changes to your com.microsoft.azure.remote_rendering package (replace the files in the Runtime folder) to mitigate the uninitialized variable we found: com.microsoft.azure.remote_rendering_fix.zip

WikkidEdd commented 2 years ago

🔥 Amazing, even with a poor bug description :)

We'll add this in for our next release

WikkidEdd commented 2 years ago

An update on this. We believe we've had 3 users see this issue today. The reports slightly conflict with what I've seen in the past, so it's possible it's different to what I'd described above.

User A's Session ID - dc2f4772-0e91-40b3-b16a-e484d6014bbe (eastus) User A's Description

What I’m experiencing now is the new model will display, but is flipped upside down like one axis is 180° offset and the model is also not locked in 3D space, ie. It is locked in a set point in my FOV and will translate up/down/left/right maintaining its FOV position when I move my head or walk around the room.

User B's Description (we weren't able to get session ID, but it was definitely UK South data center)

The model appeared for me but was head locked to about 15deg off the y axis so that any head movement by me caused a single frame of the model to slide up and down the 15deg line.

User C was in the same meeting as User B and reported similar issues, but didn't give a solid description, but it was west europe.

We haven't released the build with the proposed fix in yet, but I thought I'd share that it seems to be higher frequency and perhaps a slightly different description of what is happening.

ChristopherManthei commented 2 years ago

Thanks for sharing this @WikkidEdd , The descriptions are in line with what I would expect when this bug appears. The bug already existed on our side for a while now but had never surfaced before. I think the trigger is a new Unity update as we also observed the problem just now using the latest Unity 2020 version. Just out of curiosity, did you perhaps update Unity recently as well? Cheers, Christopher

WikkidEdd commented 2 years ago

Ok, that is good to hear that you think the fix will still work.

No, we're still on Unity 2020.3.19f and we have been for a long time.