Replies: 1 comment 1 reply
-
From what I can tell, the issue is not with the UIBlock2D. If I create new one at the same size and assign the RenderTexture, it's also wrong. The only fix, apart from restarting the application I have found so far is a quirky one: Big headscratcher for me. How can I recreate this fix in code at runtime? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
So maybe I'm using it wrong, or it's my setup. However, after enabling BlurEffect and disabling it again, the RenderTexture doesn't scale correctly anymore.
My setup is as follows:
This works correctly in stand-alone applications and the editor, but breaks on mobile and when using the device simulator (however to reproduce the issue in the device simulator, I have to switch to a device with a different resolution).
When I inspect the render texture, it looks fine.


On the UIBlock2D and device output it's misaligned, though.
So far I couldn't find a way to properly reset it after disabling the BlurEffect. Any ideas?
Here's a video showing the setup and the issue.
https://github.com/NovaUI-Unity/Feedback/assets/13980562/7724c3a3-45ef-4e34-9ab9-96d85caa0d7a
Beta Was this translation helpful? Give feedback.
All reactions