Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
2022.3.69f1
6000.0.64f1
6000.3.1f1
6000.4.0b1
6000.5.0a3
Issue ID
UUM-129829
Regression
No
AssetBundle Variants do not switch when a Sprite (2D and UI) texture is referenced from a Material
How to reproduce:
1. Open the ‘AssetBundleMaterialTest.zip' project
2. Open the 'SampleScene’ scene
3. In the Hierarchy, select the Main Camera and in the "Test Scene" component, click the "Build AssetBundles" button to build the AssetBundles
4. Enter Play Mode
5. In the Game view, press the "02" button
6. Observe the Game view
Actual result: When pressing the "02" button, the Sprite correctly switches to the "02" variant texture, but the Material's texture reference does not change to the "02" variant
Expected result: When pressing the "02" button, both the Sprite displayed via UI Image and the texture assigned to the Material use the "02" variant texture
Reproducible with: 2022.1.0a5, 2022.3.69f1, 6000.0.64f1, 6000.3.1f1, 6000.4.0b1, 6000.5.0a3
Reproducible on: macOS 26.0.1 (M1 Max)
Not reproducible on: No other environments tested
Notes:
This issue occurs under the following conditions:
- The texture’s Texture Type is set to "Sprite (2D and UI)"
- The same texture asset is referenced both by a Sprite and by a Material
- The Material is included in a different AssetBundle from the texture
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Diagnostics logs are missing, duplicated, or out of order when viewing Player sessions in Cloud Diagnostics
- Prefab Overrides “Apply” button is too big and overlaps with the context menu’s outline
- Prefab Overrides “No Overrides” text is too large, and the the Context Menu of the Parent GameObject has a lot of empty space when opened
- “Screen position out of view frustum...” errors are thrown when zooming out in the Scene view after creating UI GameObject
- CurveTexture is not being released when unloading AssetBundle containing a Scene with ColorCurves post-processing component in Global Volume
Add comment