Canvas size causing material to not work

I have a blur material being applied to a render texture but it only works on certain canvas sizes.

9474547--1331908--SquareAspect.gif

The above .gif starts with the blur working but as I zoom in / zoom out, the material seems to stop working. This is on a 540x540 dimension. The game is meant to be played on phones so the aspect ratio should be something like 9:16 for portrait. However, on that ratio the material is not working at all. The following .gif shows this behavior.

9474547--1331905--9by16Aspect.gif

Could use some help figuring out this issue. This is using Unity 2022.3.9f1.

I came upon this discussion.

It does look like the blur image is not resizing when zooming, so I have changed the color space to gamma. The blur is working consistently now! However, are there things I should be worried about now that I have changed the color space? From what I know, lights would be affected by this change. Are there other things?

@BorpaBoatski the fact that you changing the color space “fixed” the issue certainly makes my spidey/bug sense tingle!
would you mind opening a bug report and sending it to me?

@unityruba sorry for the late reply. I have submitted a bug report. The ID is IN-61478. Please let me know if you need more info. :slight_smile:

1 Like