Page 1 of 2
Upgraded to 2.2.1, UIs Not Rendering
Posted: 06 Apr 2019, 16:41
by stonstad
I upgraded from 2.2.0 rc to 2.2.1 and now most of my UIs are invisible. Mouse down events still work for where I anticipate buttons to exist. I'm not seeing text or images. I can click through screens based on where buttons exist and some screens partially render.
I am not seeing any errors (on play or editor mode).
Re: Upgraded to 2.2.1, UIs Not Rendering
Posted: 06 Apr 2019, 16:43
by stonstad
OK, I can get a UI to appear by toggling the view's associated camera clear flag from Depth Only to Solid and then back to Depth Only. This causes the view's UI to render.
Re: Upgraded to 2.2.1, UIs Not Rendering
Posted: 06 Apr 2019, 16:44
by stonstad
Also seeing issues with UI not repainting. No idea what's going on.
Re: Upgraded to 2.2.1, UIs Not Rendering
Posted: 06 Apr 2019, 16:51
by jsantos
Does this patch fix the issue?
https://www.noesisengine.com/bugs/view. ... 1427#c5598
We are trying to workaround a bug in Unity when using layered cameras and it seems we made things worse so I am seriously considering reverting everything back to 2.1 till Unity fixes this.
Re: Upgraded to 2.2.1, UIs Not Rendering
Posted: 06 Apr 2019, 17:02
by stonstad
Thank you for the quick response. I am replying inline on the associated issue.
Re: Upgraded to 2.2.1, UIs Not Rendering
Posted: 06 Apr 2019, 17:38
by stonstad
Fixed by patch discussed in issue above. Thank you !
Re: Upgraded to 2.2.1, UIs Not Rendering
Posted: 08 Apr 2019, 17:50
by jsantos
Thanks. It would be really helpful if you could describe your camera setup. We need to understand all scenarios to finally solve this issue.
Re: Upgraded to 2.2.1, UIs Not Rendering
Posted: 09 Apr 2019, 21:22
by stonstad
Setup is as follows:
Camera Layer 1 (Depth 10)
Camera Layer 2 (Depth 11) - "Overlays, i.e. Pop-ups"
The reason for two layers so that I may apply post-processing (blur, desaturate, etc) to the bottom UI layer when pop-ups are visible on the overlay UI layer. Once Noesis adds blur as a shader effect I will likely collapse back to one layer for perf reasons.
Is this the information that you need or can I provide any other details?
Re: Upgraded to 2.2.1, UIs Not Rendering
Posted: 10 Apr 2019, 20:21
by jsantos
Thanks for the information, are you dynamically modifying those cameras (like enabling, disabling, changing depths) or the bug reproduces with a static setup?
Re: Upgraded to 2.2.1, UIs Not Rendering
Posted: 24 Apr 2019, 19:59
by jsantos
Any chance you could create a small project reproducing the issue? (with the original 2.2.1 without modifications)