Serialization Doesn't Work
If you're having issues serializing values follow these steps to remove the most common errors.
- Remove any serialization attributes from your class.
- Open the Serialization Debugger inside the inspector. You can find it by opening the Context Menu of the MonoBehaviour / ScriptableObject and clicking on Debug Serialization
- Follow the steps that the debugger recommends at the bottom of the debugger window.
If you're trying to serialize a Dictionary and you have issues with it, make sure that you didn't select SerializableDictionary<T1, T2>
from the object reference picker.
Last update: September 19, 2021