Search Issue Tracker
Fixed
Votes
1
Found in
5.4.2f2
Issue ID
845762
Regression
Yes
Wrong Texture reference in AssetBundle variants
How to reproduce:
1. Open the attached project "case_845762-TextureIssue.zip"
2. Open the "TextureIssue" scene from the Scenes folder
3. Select the "AssetBundleLoader" object
4. Set the "Variant" to "var_a" in the Inspector tab
5. Hit play
Expected behavior: Material and Prefab reference the texture in "textures.var_a"
Actual behavior: Material and Prefab reference the texture in "textures.var_a"
6. Stop play mode
7. Set the "Variant" to "var_b" in the Inspector tab
8. Hit play
Expected behavior: Material and Prefab reference the texture in "textures.var_b"
Actual behavior: Prefab works as expected. Material references the texture in "textures.var_a"
Reproducible: 5.4.2f2, 5.5.0b10, 5.6.0a1
Not reproducible: 5.3.5p2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
- Motion Vector texture reports incorrect Mesh data when Mesh is coming from off-screen
Add comment