Search Issue Tracker
Won't Fix
Votes
0
Found in
5.5.1f1
Issue ID
899213
Regression
No
ISerializationCallbackReceiver example
The example sritp on this page: https://docs.unity3d.com/2017.1/Documentation/ScriptReference/ISerializationCallbackReceiver.html
https://docs.unity3d.com/ScriptReference/ISerializationCallbackReceiver.html
should be changed
from:
public List<int> _keys = new List<int> { 3, 4, 5 };
public List<string> _values = new List<string> { "I", "Love", "Unity" };
//Unity doesn't know how to serialize a Dictionary
public Dictionary<int, string> _myDictionary = new Dictionary<int, string>();
to:
public List<int> _keys = new List<int>();
public List<string> _values = new List<string>();
//Unity doesn't know how to serialize a Dictionary
public Dictionary<int, string> _myDictionary = new Dictionary<int, string>{ { 3, "I" }, { 4, "Love" }, { 5, "Unity" } };
-
RenatoMalota
Dec 07, 2021 21:17
It takes only 3 simple steps to find the best personal writer. Create an order specifying your topic, word count, deadline, etc. Give detailed paper instructions. All subject-relevant writers get notified about your order. Available writers submit their proposals. Review proposals from top paper writers and select your personal essay helper. I have such HTTPS://en.samedayessay.com/ service and I want to recommend it for you.
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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Resolution Note:
Resolving and Closing ("won't fix") as part of the big docs bug amnesty (Jan 2018). Due to limited resources we are drawing a line under these older bugs and we are now focusing our work on the newer incoming bugs from the docs web site feedback system.