Search Issue Tracker

Fixed in 2020.1

Fixed in 2019.3

Votes

1

Found in

2019.3.0a10

2019.3.0b6

2020.1.0a1

Issue ID

1190809

Regression

Yes

Setting a default preset for any UI component throws a Recursive Serialization error after re-launching the project

Asset Importers

-

How to reproduce:
1. Create a new Unity project
2. Create a UI > Text GameObject
3. Select the GameObject and create a preset for the Text component
4. Set the preset as the default Text preset by clicking 'Add to Text default'
5. Save the project and restart it

Expected result: no errors are thrown upon launching the project
Actual result: 'Recursive Serialization is not supported' error is thrown upon launching the project

Reproducible with: 2019.3.0a10, 2019.3.0b7, 2020.1.0a9
Not reproducible with: 2018.4.11f1, 2019.2.10f1, 2019.3.0a9
Could not test with: 2017.4.33f1(presets unavailable)

Reproducible with package versions: 1.0.0

Notes:
Full error: Recursive Serialization is not supported. You can't dereference a PPtr while loading. (Constructors of C# classes may not load objects either. See stacktrace.)

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.