"Size zero" Bug using small .png images
![StuartY](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Hi guys,
This isn't a plea for help, but rather something I came across that I wanted to document for other unfortunate users. When working with a .png image of 1 pixel width or height (e.g tiling a gradient to save space) it's possible for a showstopper of a bug to occur. Everything looks fine in the preview window, but on compiling your game to run on iOS, you'll get a crash to desktop and an error message.
Thankfully, I was able to go through this message and guess what some of the text ("size 0 image") in it meant, then figure out what it was referring to. Somewhere along the way, your tiny image gets mistaken for having no dimensions at all. The fix is just to make it a pixel or two wider/higher.
Anyone else encountered this?
Stu
This isn't a plea for help, but rather something I came across that I wanted to document for other unfortunate users. When working with a .png image of 1 pixel width or height (e.g tiling a gradient to save space) it's possible for a showstopper of a bug to occur. Everything looks fine in the preview window, but on compiling your game to run on iOS, you'll get a crash to desktop and an error message.
Thankfully, I was able to go through this message and guess what some of the text ("size 0 image") in it meant, then figure out what it was referring to. Somewhere along the way, your tiny image gets mistaken for having no dimensions at all. The fix is just to make it a pixel or two wider/higher.
Anyone else encountered this?
Stu
Comments
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left