Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2018.4.X, 2019.1.X, 2019.2.X
Votes
6
Found in
2017.4.6f1
Issue ID
1119829
Regression
No
[Asset Bundles] Sprite Mask Sorting Layer resets to default when asset is loaded from asset bundle
To reproduce:
1. Open attached project
2. Press Play
3. Inspect "SpriteMask (Clone)"
Actual result: The prefab's clone lose its sorting layer, it is set to default
Expected result: The prefab's clone should not lose its sorting layer, should have the same UI not default
Reproduced with: 2017.4.0f1; 2017.4.6f1; 2017.4.21f1; 2018.2.20f1; 2018.3.7f1; 2019.1.0b4; 2019.2.0a6
Note: If loading the asset using AssetDatabase.LoadAssetAtPath in the editor, the sorting layer comes through fine
Similar old cases: https://fogbugz.unity3d.com/f/cases/885387/ https://fogbugz.unity3d.com/f/cases/590946/
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment