Since updating to 5.3.1, one of the Unity UI canvases in my project has started flickering (or disappearing for one frame or similar) in the right eye when I update it, but displays normally in the left eye.
Another canvas occasionally starts to be drawn on top of sprites when it should be behind them, then goes back to normal after a while, but I can't work out what triggers it.
A LineRenderer started drawing in a different position for each eye at one point.
Errors like this are printed to the console frequently, but it's not clear where they're coming from (no stack traces other than the UnityEditor.DockArea line):
Invalid AABB result Invalid AABB result Invalid AABB result UnityEditor.DockArea:OnGUI() Invalid AABB result aabb.IsFinite()Invalid AABB a Invalid AABB a Invalid AABB a Invalid AABB a IsFinite(outDistanceForSort) UnityEditor.DockArea:OnGUI() IsFinite(outDistanceAlongView) UnityEditor.DockArea:OnGUI() IsFinite(outDistanceForSort) IsFinite(outDistanceForSort) IsFinite(outDistanceAlongView) IsFinite(outDistanceAlongView)
Edit: Looks like 5.3.1p1 was released a few minutes ago, so I'll try that.
Scorched Battalion - VR Jam edition available for Gear VR and DK2 (Win/Mac/Linux) Jungle Juice Sven Co-op
Thanks -- it fixed the errors in the console, and I haven't been able to reproduce the canvas-sometimes-draws-in-font-of-sprites issue so maybe that's fixed too, but the other issues are still present. The LineRenderer seems to be wrong all the time, I probably just didn't notice it immediately.
Scorched Battalion - VR Jam edition available for Gear VR and DK2 (Win/Mac/Linux) Jungle Juice Sven Co-op
"Svenviking" wrote: Thanks -- it fixed the errors in the console, and I haven't been able to reproduce the canvas-sometimes-draws-in-font-of-sprites issue so maybe that's fixed too, but the other issues are still present. The LineRenderer seems to be wrong all the time, I probably just didn't notice it immediately.
Can you still see the canvas flickering? And you mentioned earlier that the flickering occurs when you update the canvas. Are you updating the position of the canvas, the rotation, the color, etc.?
Hi, I am using 5.3.p1 on a Mac to develop VR app using Oculus DK2.
Since my update, Whenever I press Play, the Health and Safety warning never disappears (even after pressing keys/waiting/tapping Oculus) and the Unity is struck in Play Mode. I have to quit the whole application and restart.
"Svenviking" wrote: Thanks -- it fixed the errors in the console, and I haven't been able to reproduce the canvas-sometimes-draws-in-font-of-sprites issue so maybe that's fixed too, but the other issues are still present. The LineRenderer seems to be wrong all the time, I probably just didn't notice it immediately.
Can you still see the canvas flickering? And you mentioned earlier that the flickering occurs when you update the canvas. Are you updating the position of the canvas, the rotation, the color, etc.?
-Will
Yes -- it happens when I mouseover a slider (using gaze tracking), which triggers shadow effect, but it seems like it might depend on what the slider's value set to at the time or something similarly strange. Trying to put together an example project now.
Edit: I'm having some difficulty reproducing it in a minimal test project at the moment. I have confirmed that it only occurs when my slider is set to a high value, though. I'm guessing that's because, when it's set high, the FillRect is intersecting with a text field and increasing the number of overlapping elements. Note that it only occurs on the device, not in the editor using a DK2. Will try again later.
Quite likely unrelated, but I had a slightly similar problem with the same slider FillRect in 5.2.1, by the way (case 733538). It was fixed in 5.2.1p3.
Scorched Battalion - VR Jam edition available for Gear VR and DK2 (Win/Mac/Linux) Jungle Juice Sven Co-op