- Home /
Image disappears when Canvas is set to 'Pixel Perfect'
I am getting a really strange behaviour. I have an image in my UI composition and, somehow, setting the Canvas to 'Pixel Perfect' makes it disappear.
I made a shot screencast to represent this:
http://screencast.com/t/NuDbVHBK7F
Any ideas what causes it?
Answer by Drpie · Feb 24, 2015 at 06:02 PM
I had the same problem. Turns out that my image's Z scale was set to 0, which was fine when it wasn't pixel perfect, but when pixel perfect was turned on the image disappeared.
Try setting the image's Z scale to 1 if not already.
Woot, it works! Thanks for replying after all this time :)
Your answer
Follow this Question
Related Questions
GUI off-screen right side 0 Answers
How can I get a UI Canvas to hide/appear on 'esc' button press? 4 Answers
New UI in V4.6 - rendering error using masks in deferred rendering. 1 Answer
Why canvas set to Screen Space - Overlay doesn't cover entire screen 0 Answers
Canvas Scaler resolution to use for Nexus 4 device 0 Answers