I have some very simple png files that I am using in my main menu. They work perfectly on the computer but on mobile they simply render as white blocks. I tried using a PSD file instead but that didn’t seem to do the trick.
I’m just using a widget blueprint with an “Image” that I hide/show. Super simple stuff but I seem to be having quite an issue with it.
Here’s what I’m working with.
Playing in editor on computer:
Playing on phone (Samsung S5 if it matters):
Yeah I know my interface is beyond ugly but I would like to solve this before making it prettier :).
This my test GUI setup
This is screenshot from Galaxy S2
Does the same thing happen if you run a cooked build on PC?
When you run via PIE, you’re using non-cooked data, but the phone will be using cooked data. Trying a cooked build on PC should help us determine whether it’s an issue with your data not being cooked.
Thanks for the response! I just cooked the data and packaged for windows 64 bit. Everything looked great! Still at a loss as to why my pngs are white bricks still :(. I’m going to take a look at the settings that svv3d used and see if that solves it. If you have any more suggestions please let me know!
Thanks for the response!
I’m not sure if this completely solves my issue because I’m using the same settings as you with no luck. Very simple png texture without changing any settings. One thing that did spring to mind is the power of 2 size. My images dimensions are not a power of 2 at the moment and I really hope that is what is causing the issue. I’m going to resize them and report back.
Thanks for letting me know that it isn’t simply a compatibility issue with the phone :).
Still open to suggestions if you have any more of them!
Oh god it was the power of 2 issue. I changed my images to 2048x2048 and they are now displaying correctly. That was something I totally overlooked because I haven’t worked on an interface in a while.
Thank you so much UE4 staff you rock! Please re-mark your answer as correct. Hope this helps someone in a similar predicament!
I had a similar problem on Windows 10 playing in the Editor with images not showing up in widgets but showing up as white boxes.
I was able to do a workaround by using “border” objects instead of “image”.