Skip to main content

Serializable Dictionary class error preventing build

The problem may be caused by unsupported APIs in the Serializable Dictionary class.

Possible solution:

  • Change to a standard C# Dictionary if possible. Note that this will likely wipe any serialized data that has been added to the dictionary through the Unity inspector. You will need to re-add the keys and values via code.

images-medium