Search Issue Tracker

Fixed in 2019.3

Fixed in 2018.4, 2019.1, 2019.2

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

Asset Bundles

-

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/

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.