Search Issue Tracker

In Progress

Fix In Review for 2021.3.X, 2022.3.X, 6000.0.1f1

Won't Fix in 2023.2.X

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.

 

  1. Resolution Note (2023.2.X):

    Closing as Won't fix due to 2023.2 reaching it's EOL.

  2. Resolution Note (fix version 2022.3):

    The issue is addressed by making the error explicit to the user

  3. Resolution Note (fix version 2021.3):

    The issue is addressed by making the error explicit to the user

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.