Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

0

Found in

2017.4.1f1

Issue ID

1028484

Regression

No

DataContractSerializer fails when deserializing an object with circular references

Mono

-

To reproduce:

1. Download attached project "segiTest.zip" and open in Unity
2. Open "test" scene
3. Enter Play mode
4. Observe that Error will be printed in Console:

"SerializationException: Deserialized object with reference Id 'i1' was not found"

Notes:
- This issue appears on Windows and OSX
- When compiling outside of Unity it works just fine
- Full Error is shared in the comments section

Reproduced on Unity 5.6.5p4, 2017.1.3p4, 2017.2.3f1, 2017.3.2f1, 2017.4.2f2, 2018.1.0f2, 2018.2.0b3 and 2018.3.0a1

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.