Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X, 2020.1.X
Votes
0
Found in
2017.4
2018.4
2019.2
2019.2.9f1
2019.3
2020.1
Issue ID
1204074
Regression
No
[Mono] Deserialization of simple 3-deep hierarchy of object with an abstract class fails when using BinaryFormatter
How to reproduce:
1. Open the attached project ("case_1204074-BinaryFormatterRepro.zip")
2. Open the repro scene ("SampleScene")
3. Enter Play Mode
4. Inspect Console
Expected results: No errors in the console
Actual results: "System.ArgumentException" error is thrown
Reproducible with: 2017.4.36f1, 2018.4.16f1, 2019.2.20f1, 2019.3.0f6, 2020.1.0a21
Notes:
1. Also reproduces on IL2CPP backend
2. Reproducible with both 2.0 and 4.X .NET API Compactibility levels
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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a3
Cherry-picked recommended changesets which does fix this particular issue. Deserialization now succeeds.
Resolution Note (fix version 2020.1):
Fixed in 2020.1.0b9
Resolution Note (fix version 2019.4):
Fixed in 2019.4.1f1