Search Issue Tracker
In Progress
In Progress in 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
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
Add comment