Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2021.1.19f1
2021.2
2022.1
Issue ID
1374207
Regression
No
FormerlySerializeAs attribute doesn't work in Player Build when used in a ScriptableObject included in an Asset Bundle
How to reproduce:
1. Open the user's attached project
2. Open scene Scenes/SampleScene
3. Press the Play button and observe the Console
4. Go to File -> Build Settings
5. Enable "Development Build"
6. Build and Run the project
Expected result: the string "Hello World" is logged as an error both in the Editor and the Build
Actual result: the string "Hello World" is logged as an error in the Editor, but is missing in the Build log
Reproducible with: 2019.4.33f1, 2020.3.24f1, 2021.2.5f1, 2022.1.0a16
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [VFX] Custom HLSL with 'int' parameter, without the 'in/out/inout' access modifier is not supported
- [Windows] Lens Flare doesn't work in the Lens Flare Showroom URP Sample Scene
- Crash on ujob_execute_job while using OverlapBoxCommand when collisions are more than maxHits
- The validity of the multiple handles can behave differently based on the load/release operations order, when multiple Addressables.LoadAssetAsync and Addressables.Release are used to load and release the same Addressable Asset
- Dynamic text is rendered in the background when it is inside the <font> tag
Resolution Note:
Unfortunately we do not support FormerlySerializedAs in the player. So you would need to rebuild AssetBundles in a version when you are doing a schema changes on the data.