Window icon don't change on package build

Hi

How can I change window icon of my game?

I added icon for .exe file and it works, but for window, I don’t have even Unreal icon on packaged build :confused:

45434-no_window_icon.jpg

UE 4.7.3, Windows 7

Thanks, Marcin

I’m having the same issue in 4.8.1

Hey,

There is currently a bug in our system that is causing the game icons not to show up properly after being packaged on Windows. This report can be referenced as: UE-1419. Currently, there is not an estimated time frame on when this will be corrected however, if you have any further questions, please reply back and we’ll assist you further.

Have a wonderful day!

Are you setting your icon via a .rc file like in some of our samples?

If so, try to add this include in your .rc file right after Version.h. I noticed all of our samples (like ShooterGame) did not have this include and it is necessary to associate the icon resource with the ID used to set up the main window.

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

I updated all of our samples to include this line.

It’s months later, but I thought I’d note here: this solution above worked great for us when we had this problem. Thanks Bob!

I tested it on 4.10.2 and still doesn’t work, but now there is black Unreal Engine icon.

UE-1419 has not been resolved yet, but has a work around posted below.

Thanks!