- Home /
Raw image not visible in overlay canvas
Hello everyone. I have a problem with an UI panel which is made from raw images that have a material with a custom shader. Everything in this panel is visible if I hit play in the scene that contains the canvas, however if I enter in this scene from the menu scene, it's not visible in game view, but it's visible in scene view. At runtime, if I create an image in that panel it's visible, however if I create a raw image and assign any material (with any kind of shader) it's not visible.
The problem would be solved if I set the canvas in camera space, but in this case the post processing effects would apply on the UI too. The shader we're using is changing the hue value of the image, so as a workaround we can generate the sprites for each hue value, but I'm wondering if I'm missing something that could fix the issue.
Any help would be appreciated. Thank you, Daniel