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
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
Add comment