iPhone Icon (57x57) is not a power of two

Unity iPhone 1.5 introduced the ability to specify the iPhone App Icon via Edit → Project Settings → Player.

Apple guidelines specify the icon should be 57x57 pixels.

Every time I launch my game in the Unity iPhone editor, it generates the following warning:

I realize it’s not an error, just a warning, but I hate to have unnecessary warnings filling up the console. What are folks doing about this? Should I just ignore it?

Would it be better to not use the method for adding the icon listed above, and use a more manual procedure dealing directly with Xcode, plist, etc?

Is this a bug, and should it be reported?

I’ve been meaning to report it, but haven’t. It’d be nice to have a option in general to mark textures (say, in the import settings) that are only used for the icon or GUITextures and thus shouldn’t generate the warning.

Yes it’s just a warning, yes you should ignore it, yes it’s annoying. :wink:

–Eric

Thanks.

I reported the issue as a bug. I’m not currently using Unity iPhone Advanced, but I’m guessing that it will also warn about Default.png since it’s 480x320 or 320x480.

Hopefully the next release will filter out textures set as the iPhone Icon and Default image.

Got the bugreport. Thanks. Bug will be fixed before next minor Unity iPhone release.

I’m running the latest iPhone version and this error still occurs…

Make sure the texture isn’t compressed (RGB16 or RGB24)

Getting this too using a tif. I have a question though,… every game engine i’ve worked with will usually crash if someone on the team checks in a non-power of 2 texture, but we’re not supposed to worry about it? Is Unity fixing it in the background?

It’s an icon, it doesn’t need to be “fixed”. It’s not used in the game.

–Eric

I’ve now used about 15 different game engines, and the gui is part of the engine. And every one of those engines required a power of 2 for even icons, …hence the question. :slight_smile:

This icon is not used by the game, it is put into the package which is then read by the device for displaying on the menu pages.