Since about a month I can't build with an application icon any more (at least for Mac OS X). Even the Angrybots demo just gets the default Unity icon instead of the icon set in the player settings inspector. I tried deleting and reinstalling unity, including deleting the preference files. I'm using Unity Pro 4.2.1f4 (+iOS Pro) on Mac OS X 10.8.4. I already had the issue in 4.1.x.
Looking into the application files, it seems Contents/Resources/UnityPlayer.icns is not generated, but no errors show up in editor logs. The banner in the settings window is missing as well.
Maybe related to the issue the Check for updates always gave Unity was up-to-date even when updates were out.
As I need to make deliverables this is becoming critical!
Check for updates doesn't do anything unless the update has been out for a while and they're satisfied with the stability, then they flip a switch on their end. It's always worked this way.
Anyway, you can just set the icon manually; there's never been a need to do it in Unity (it's just a bit more convenient that way). Supply the icon yourself and change the relevant line in the .plist file if necessary.
@perchik: the question is about OS X, not Windows.
@doh, I read that and then proceeded to answer as if it was windows. Should't answer questions when I'm half asleep. Thanks!
Answer by shinichi88
Nov 01, 2013 at 04:08 AM
Apparently, there's a quick solution for it. Click your app, and get into "Info" (Command+i)
Open your icon picture in preview Ctrl+A, & Ctrl+C (Select ALL & Copy)
Click the app icon located at the top left corner in the Info View Ctrl+V (Paste)
Thanks, this actually worked.
Answer by jkreijkamp
Sep 09, 2013 at 08:56 AM
It seems that I can manually place an UnityPlayer.icns file in the Contents/Resources folder and it works. The banner image is apparently called ScreenSelector.tif so I can get around that as well, so for now I can at least make complete mac applications. Haven't checked out yet if iOS apps go wrong as well, but if it does I guess I can fix it in XCode. Probably the only way out is to do a complete reinstall of Mac OS X and Unity to resolve this weird bug. Not something I look forward to...
I don't think it is a bug in your OSX installation, I think it is a bug in Unity. It isn't creating the UnityPlayer.icns file and copying it into the application bundle. I'm experiencing the exact same issue. If I manually copy a created UnityPlayer.icns file into the Resources file it works.
Answer by DaFox
Sep 25, 2013 at 08:01 PM
It works fine in x86 OSX builds. Build for x86 and then copy the files over like jkreijkamp suggested.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
21 People are following this question.
Distorted app icon on mac
Issues with Mac x86_64 and Universal builds?
Mac will only build not run
Standalone MacOS build - PlayerIcon.icns problem
Mac Standalone build immediately crashes