Possible Canvas bug after fullscreen (2018.4.27f1)

Multiple testers have reported an issue with a UI Canvas not returning to the correct size after returning from “fullscreen” mode. Issue was reported using Chrome browser (one said it was version 88).

Here are screenshots of the UI before (normal/correct sizing) and then after.

BEFORE and DURING full screen mode, you can see the top UI widgets correct placement:


AFTER return from full screen (pressed ESC key), the canvas is still sized as if it were in fullscreen mode:

Anyone experience this before?
Shall I file this as a bug?
And are there workarounds?

Unity 2018.4.27f1
Chrome/88.0.4324.104
OpenGL 3, WebGL 2
I can’t personally reproduce the issue, which really complicates solving this.

Please definitely do report a bug if you have a test case that some people are able to reproduce it with. Do you know if this is Chrome specific, have other browsers ever reproduced it? Do you know which OSes the issue happens with?

OS so far is commonly Windows 10, Chrome 88, and not in other browsers.
DirectX 12
CPU it happens on seems to be intel 4700 series and/or laptops with either intel HD graphics card or hybrid of both intelHD and nvidia, while mine that I cannot reproduce it on is a 8700K series gaming tower with Nvidia GPU card.

That last bit of info has me thinking maybe lower frame rates relate to the cause.

NOW, that said, I investigated and found a “Canvas Renderer” component on the root canvas for that UI. I think that ended up there by accident in early UI Canvas behaviour testing. Maybe it interferes. We’re about to test a new build and I’ll report back here.

Actually that reminds me of a UI size scale related issue that was fixed some time ago. Are you able to try out 2021.1.0b4 to see if that has the issue?

Have not, no, but I’m happy to report that the bug is no longer happening now that the rogue Canvas Renderer component was removed.