Search Issue Tracker
Fixed in 2021.3.39f1
Fixed in 2021.3.X, 2022.3.X, 6000.0.X, 6000.0.1f1
Votes
0
Found in
2020.3.41f1
2021.3.12f1
2022.2.0b14
2023.1.0a16
2023.2.0a1
2023.3.0a3
6000.0.0b11
Issue ID
UUM-18354
Regression
No
TextureArray asset format is not converted, causing runtime artifacts on non-mobile platforms
Reproduction steps:
- Open "SampleScene" in project [https://github.com/Wilfrid-Unity/test-unity-etc-texturearray-asset]
- Build and Run on Mobile, Desktop, Console Platforms
Expected Results:
- For all Standalone platforms, the scene looks the same as in Editor (one blue cube and one green cube).
Actual Results:
- The scene looks the same as in the Editor, when running on Android.
- The scene has artifacts, when running on PC Standalone player (as well as consoles) ; the cubes are rendered with incorrect colors.
Additional Information:
- The scene uses the Texture2DArray asset generated by running the Editor script "Texture2DArrayAssetCreator/Generate ETC2 Texture2D Array Asset". This script mimics the behavior of a popular Asset Store shader solution.
- ETC format is not supported on non-mobile platforms ; however Unity attempts to load it at run-time, resulting in artifacts.
- Ideally, the build process should convert these textures to a format supported by the target platform. At the very least, build process should issue warning/errors regarding Texture2DArray assets in the build that have formats unsupported by the target platform.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 2022.3):
The issue is addressed by making the error explicit to the user
Resolution Note (fix version 2021.3):
The issue is addressed by making the error explicit to the user