x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Icon problem is not fixed.

I've been finding a bunch of posts about the icon problem that have been saying that the problem has been resolved, but it definitely has not been. I'm getting the proper icon on my .exe file and my desktop link, but the taskbar icon and title-bar icons are still showing the Unreal logo. (Actually, this last build gave me just that small line you see on the title bar.)

My icon started as a .png that was converted into a proper icon file at 256x256.

I'm having the same problem no matter what build I do--shipping or development and 32 or 64 bit.

alt text

Since I've been seeing this listed as a "resolved" issue, I'm submitting this as a bug report.

Thanks,

-Marc

Product Version: UE 4.11
Tags:
badicons.png (1.1 MB)
more ▼

asked Apr 02 '16 at 11:53 PM in Bug Reports

avatar image

Mbublitz
89 9 10 14

avatar image Adam Davis STAFF Apr 04 '16 at 06:18 PM

Hi Mbublitz,

Previous post was deleted. I have not been able to reproduce this error on my end.

  • Does this occur in a clean, blank project with no additional content or is it limited to one project?

  • Have you tried this with a .ico file?

  • What size image are you currently using?

  • Where are you setting the .ico file?

avatar image Mbublitz Apr 04 '16 at 06:55 PM

The icon file was added in the project settings under Platforms and in the Windows section for the Game Icon.

I just created a brand new "Puzzle" game project, set my icon file, and packaged for Windows 32-bit (Development Package) and still getting the same thing. The icon on the actual .exe file is correct, but the icons when opening the game to play it are wrong.

alt text

[EDIT]: Forgot to mention that I'm using a 256x256 .ico file.

stillbadicons.png (73.0 kB)
avatar image Adam Davis STAFF Apr 04 '16 at 07:18 PM

What filetype are you using for the icon? make sure that it is a 256x256 .ico file.

avatar image Mbublitz Apr 04 '16 at 07:29 PM

It is. And, as I said, it sets the actual .EXE icon properly, but the taskbar and in-game icons are not being set properly and are defaulting to the Unreal Logo icon. I attempted to attach a copy of my .ico file, but it won't accept .ico file attachments here, I see. Also, I just wanted to add that I also created a blank project and made a shipping package, and get the same results.

avatar image Adam Davis STAFF Apr 04 '16 at 08:46 PM

If you could, place the .ico in the .zip and then upload the .zip here. The reason I requested the clarification is that on my end a packaged project receives the icon on both the .exe and within the toolbar. I'm curious to see if there is some significant difference between the two that may be causing the error to occur.

avatar image Mbublitz Apr 04 '16 at 08:48 PM

Here's my zipped icon file.

link text

avatar image Adam Davis STAFF Apr 05 '16 at 05:45 PM

It looks as though it may be limited to your icon file. I'm attaching a sample .ico file that seems to work. Can you test this on your end to see if it appears correctly? link text

icon.zip (44.9 kB)
avatar image Mbublitz Apr 05 '16 at 06:09 PM

When I use your icon file for the blank project I created earlier, I'm getting your icon on the .exe file (as I got mine) but instead of getting your icon in the other places, or the unreal icon, I'm getting a generic icon. alt text

stillbad2.png (31.1 kB)
avatar image Adam Davis STAFF Apr 06 '16 at 05:18 PM

What OS are you currently on?

avatar image Mbublitz Apr 06 '16 at 05:21 PM

Windows 8.1

avatar image Adam Davis STAFF Apr 09 '16 at 09:58 PM

Hi MBublitz,

I wanted to update to let you know that I am still looking into this. I am getting wildly varied results so once I know more information I'll post back here with an update.

avatar image Adam Davis STAFF Apr 18 '16 at 05:22 PM

Can you provide the source asset for your icon? I've been attempting to reproduce this on my end, however I still cannot reproduce the errors you are seeing with the asset I linked. Preferably, if you could provide the PSD for the source asset on your icon it would help us to narrow down what may be occurring.

avatar image GeorgeDavis Apr 13 '16 at 02:00 PM

I am getting identical results as Mbublitz. I am packaging a 64-bit binary and running it on Windows 10. I am seeing this in my game project as well as a simple blank project. Seeing this in development and shipping packages.

When I use Mbublitz's, I get that single line icon as seen in his first image. When I use Adam's icon i get the same results as in his second image.

The only time I have ever seen it working is with the default icon included in UE4. If I modify 1 pixel from the default icon, it doesn't work any more and I get the results in the second image.

Here is a shot from Axialis IconWorkshop Adam icon, Mbublitz icon, UE4 Default icon, Modified UE4 default icon.

alt text

icon.png (67.0 kB)
avatar image HartLabs May 21 '16 at 02:09 AM

I am having the same issue. 4.10 from source.

I found the exe in the top level build destination folder has the correct icon, but in \Binaries\Win64 the exe icon is incorrect.

I think part of the issue might be that it is a project from source rather than editor only? Do you have to set the icon from source before building the editor?

avatar image HartLabs May 21 '16 at 06:25 PM

I wanted to add, that for now I am successfully using 'Resource Hacker' on the Win64 exe so my program will have the correct icon in case any others are short on time to figure this out.

avatar image Adam Davis STAFF May 24 '16 at 03:06 PM

Hi HartLabs,

Which OS are you currently using?

avatar image HartLabs May 25 '16 at 08:10 PM

I am on Windows 8.1

I do not have a Window 7 machine to test on, as I see other comments mentioning it. I did try several things to clear icon cache as there were some other threads mentioning it as a possibility. Opening the exe with Resource Hacker does confirm the wrong icon is built in though, not just in cache.

avatar image HartLabs May 25 '16 at 08:15 PM

Oh also, I did try the icon file you posted to confirm that it was not some file format issue and it did not work correctly.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

4 answers: sort voted first

I think I may have found something about what is going on. (Or just confused the matter more.)

I took my original 256x256 png file and loaded it into IcoFX Portable (I purposely didn't put a link to the download site because even though I had no problems with the site, and it seems legit, I didn't want to be responsible for anyone else's computer, so google search it and go there at your own risk. It's free.)

Anyway, I loaded my image into this program and under the Icon menu did a Create Windows Icon.

At first this new icon didn't work, but if I reset the icon to the default UE4 icon, then changed it back to this icon, it seemed to update it and now shows on the title bar:

alt text

(The column of icons down the left side are all the layers that are in that file now. Size & bit depth.)

I still don't have an icon on the actual window itself, but I'd much rather have NO icon than a generic icon. I'm including the icon file that seems to be working(ish) right now for you to examine and see if there are any clues you can gather from it.

I'm still running tests to see if I can figure out what the magical sizes and bit-depths are that are making it work over here, but this is a start. At least I'm seeing an icon on the task bar now.

link text

workingicon.png (534.3 kB)
larryicon2.zip (120.8 kB)
more ▼

answered May 02 '16 at 09:46 PM

avatar image

Mbublitz
89 9 10 14

avatar image Adam Davis STAFF May 11 '16 at 07:19 PM

Hi Mbublitz,

I apologize for the delayed responses. I've been trying to reproduce this on my end, but have not been able to. A co-worker of mine was able to reproduce part of the issue and I noticed one key difference: Operating System. Do you have a Windows 7 machine that you could try this on? I double checked the most recent icon and it still shows up as I expect on both the taskbar and .exe with no modifications on my end.

avatar image Mbublitz May 25 '16 at 05:44 PM

Apologies that it's taken so long to respond. Been extremely busy. Unfortunately, at this time, I do not have a Windows 7 that I can test on, and I hesitate to upgrade this laptop to Windows 10. (Everything works the way I want it, and am used to it.) But I may have one other option, I will have to see. I just don't know if the other specs of the machine will allow it to run the editor or not.

avatar image jeremycouillard May 30 '16 at 03:25 PM

thanks for this. I had the same problem...tried so many different things and only IcoFX worked. I also got the icon to show up in the window as well.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hi MBublitz,

We have not heard from you in several days. I am marking this as answered for tracking purposes. If you are still experiencing this error, please comment with the requested information.

more ▼

answered Apr 22 '16 at 05:38 PM

avatar image Mbublitz Apr 22 '16 at 06:22 PM

Sorry, had somehow missed your request. Here's the source psd file.

link text

avatar image Adam Davis STAFF Apr 29 '16 at 03:39 PM

Hi MBublitz,

I apologize for the delayed response. I have been attempting to reproduce this on my end for quite some time, however, after getting your .psd file I was able to get a working .ico file for the packaged windows project.

alt text

I'm attaching the .ico I created, please try this and see if it works on your end. I altered the name to allow the website converter to recognize the .png and change it to a .ico. The steps I used can be found below:

ico file

  1. Open Editor (any project)

  2. Open File>Project Settings>Windows

  3. Set Game Icon to .ico file

  4. File>Package Project>Windows>Win(64 - bit

  5. Open .exe at packaged location

lablarry.zip (165.4 kB)
iconerror.png (1.6 MB)
avatar image Mbublitz Apr 29 '16 at 04:13 PM

Unfortunately, I downloaded your new icon file and tried using it in my Labyrinth Larry project, and got the same results: alt text

As you can see, it's good for the executable, but not for the in-game icon still.

So, I tried a brand new, completely blank Blueprints Project and set the icon file that you sent back with the same results: alt text

I'm on an un-modified 4.11.2 build of the engine. I don't know why you're able to get it there, and we're not getting it here.

stillnoicon.png (187.2 kB)
stillnoicon2.png (27.5 kB)
avatar image Kensei Apr 29 '16 at 09:58 PM

I'm experiencing the same problem. Funny thing is, if you Right Click -> Properties on your .exe, you'll see the icon. It's pretty strange

Edit: Strangely, it is now fixed...

alt text

avatar image Adam Davis STAFF May 02 '16 at 06:17 PM

Hi Kensei,

Are you saying that when you use right click>properties the icon now appears on the taskbar and the .exe window? If so, can you try this and see if it fixes your error, Mbublitz?

avatar image Mbublitz May 02 '16 at 06:27 PM

No, this has no effect. It would appear that he has a slightly different icon problem than mine. It looks like his executable file shows the Unreal Icon, but the properties page shows the correct icon. My executable and properties both show the correct icon, but the in-game icon on the window and the task bar are incorrect.

avatar image Slonopotamus Jun 21 '16 at 09:21 AM

Do you have this in your .rc?

 #include "Runtime/Launch/Resources/Windows/resource.h"

We also had the problem you describe until added this line. I actually don't understand how rc.exe worked at all without this line, because that header defines what IDICON_UE4Game is.

avatar image BrainDx2 Aug 18 '16 at 07:46 PM

For the record, adding that include to our .rc fixed our issue.

avatar image Ricks_Holospark Jun 21 '16 at 12:59 AM

When I open my program exe (WindowsNoEditor\ITA\Binaries\Win64\ITA-Win64-Shipping.exe) using visual studio, there are two icon files attached. One has just my 256x256x32 bit png icon in it (correct). The other has a composite icon with not only mine, but also the default Unreal icons at 24x24, 32x32, 40x40, 48x48, 64x64, and 256x256. Depending on if I set the view in windows to be Extra Large, Large, Medium, or small icons I get either mine or unreal's icon. This is despite the fact that the icon file I specified in my project settings has my icon at all those sizes. The build process is apparently copying the 256x256 version of mine icon into the unreal default icon file, but ignoring all the other sizes.

avatar image rennsix Jun 21 '16 at 12:37 PM

This is not a FIX but an alternative solution that I've found to work quite well.

The first thing is to add: #include "Runtime/Launch/Resources/Windows/resource.h" after line 12 in YourProject/Source/YourProject/Resources/YourProject.rc file.

Now, package your Shipping build as you would inside UE4. Then download a windows installer program like Inno Setup, which is free. With Inno Setup you can include in the setup file (.iss file) a desktop icon. You then build and compile within Inno Setup. After it finishes, go to the output folder you designated in the setup file and run the exe installer yourself. You should now notice you have all 3 icons (your icons) the Project icon, the Toolbar Icon and the Desktop Icon.

avatar image JohnADaniels Jul 08 '18 at 09:07 PM

I have the same issue, when I choose to view medium icons it show the default Unreal icon but another size shows my game icon.

"When I open my program exe (WindowsNoEditor\ITA\Binaries\Win64\ITA-Win64-Shipping.exe) using visual studio, there are two icon files attached. One has just my 256x256x32 bit png icon in it (correct). The other has a composite icon with not only mine, but also the default Unreal icons at 24x24, 32x32, 40x40, 48x48, 64x64, and 256x256. Depending on if I set the view in windows to be Extra Large, Large, Medium, or small icons I get either mine or unreal's icon. This is despite the fact that the icon file I specified in my project settings has my icon at all those sizes. The build process is apparently copying the 256x256 version of mine icon into the unreal default icon file, but ignoring all the other sizes."

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I have the same issue, when I choose to view medium icons it show the default Unreal icon but another size shows my game icon.

"When I open my program exe (WindowsNoEditor\ITA\Binaries\Win64\ITA-Win64-Shipping.exe) using visual studio, there are two icon files attached. One has just my 256x256x32 bit png icon in it (correct). The other has a composite icon with not only mine, but also the default Unreal icons at 24x24, 32x32, 40x40, 48x48, 64x64, and 256x256. Depending on if I set the view in windows to be Extra Large, Large, Medium, or small icons I get either mine or unreal's icon. This is despite the fact that the icon file I specified in my project settings has my icon at all those sizes. The build process is apparently copying the 256x256 version of mine icon into the unreal default icon file, but ignoring all the other sizes."

more ▼

answered Jul 08 '18 at 09:07 PM

avatar image

JohnADaniels
85 4 7 15

avatar image TorQueMoD Jul 09 '18 at 11:26 AM

Your icon isn't built correctly then. See my answer below.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I refer you all to my answer to this question at the bottom of the page: https://answers.unrealengine.com/questions/18221/packed-game.html

Basically, you need to make sure that your icons are created with the standards for Windows and then it should work fine. I've created a step by step guide on how to do this.

more ▼

answered Jul 09 '18 at 11:24 AM

avatar image

TorQueMoD
1.2k 82 112 145

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question