Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2021.2.0b14
Issue ID
1368924
Regression
Yes
Player builds fail when Default Icon is set to a texture on Windows
Steps to reproduce:
1. Open attached "internal-vehicle-physics-pro.zip" Unity project
2. Attempt to build on Windows
Expected result: Build successfully finishes, player executable uses the Default Icon from Player Settings
Actual result: "WindowsIcon: PNG data is not supported for icons on Windows." error is thrown and build fails
Reproduced with: 2021.2.0b14
Didn't reproduce with: 2022.1.0a11, 2021.2.0b13, 2021.1.23f1, 2020.3.19f1, 2019.4.31f1
Only affects Windows platform
Note: Fails with various types of textues (jpg, png, etc). Default Icon in Player Settings is set to a PNG texture, but despite what the error says, this has worked before since at least Unity 2017 (builds didn't fail and player executable icon was set successfully)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment