Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X
Votes
2
Found in
2021.3.40f1
2022.3.37f1
6000.0.10f1
Issue ID
UUM-76439
Regression
No
JsonSerialization.ToJson serializes "$type" when serializing Dictionaries
How to reproduce:
1. Open the “Test.zip“ project
2. Open the “Playground“ Scene
3. Enter Play Mode
4. Observe the Console
Expected result: The Console log reads:
”{ "Single": {},
"List": [ {} ],
"Set": [ {} ],
"Dict": { "Item": {} }
}”
Actual result: The Console log reads:
”{ "Single": {},
"List": [ {} ],
"Set": [ {} ],
"Dict": { "Item": { "$type": "BugReproduction.Item, Assembly-CSharp" } }
}”
Reproducible in: 2021.3.40f1, 2022.3.37f1, 6000.0.10f1
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Select Preset "None" icon changes after switching tabs
- [Android] Crash when using xxHash3 and targeting the ARMv7 Architecture with IL2CPP Scripting Backend
- GameObject reference in a Script Component becomes missing when unpacking a variant of another Prefab variant
- Project Settings vertical separator position is not synchronized with the mouse position when dragging it horizontally
- Crash on PhysicsDebugDraw::SelectFiltering::Update when entering play mode with Physics Debug window docked and unfocused
Add comment