Encountered invalid entry while reading serialization data for Unity object of type...

Issue #516 new
Colin MacLeod created an issue

I have an error serializing a SerializedMonoBehaviour class that has this dictionary as a member:

    [BoxGroup("Settings"), SerializeField, Required]
    private Dictionary<GameEvent, AudioClip> _audioClips = new Dictionary<GameEvent, AudioClip>();

GameEvent is a scriptable object that ultimately extends SerializedScriptableObject

I'm running Unity 2018.3.7f1 on Mac OS High Sierra.

This is the error from the log:

Encountered invalid entry while reading serialization data for Unity object of type 'EventSoundFX'. Please report this issue at 'https://bitbucket.org/sirenix/odin-inspector/issues', and copy paste this debug message into the issue report, along with any potential actions or recent changes in the project that might have happened to cause this message to occur. If the data dump in this message is cut off, please find the editor's log file (see https://docs.unity3d.com/Manual/LogFiles.html) and copy paste the full version of this message from there.

Data dump:

Reader type: SerializationNodeDataReader
Data dump: Nodes:

- Name:     <<<< READ POSITION
  Entry: 0
  Data: 
- Name: 
  Entry: 0
  Data: 
- Name: 
  Entry: 0
  Data: 
- Name: 
  Entry: 0
  Data: 
- Name: 
  Entry: 0
  Data: 
- Name: 
  Entry: 0
  Data: 
- Name: 
  Entry: 0
  Data: 
- Name: 
  Entry: 0
  Data: 
- Name: 
  Entry: 0
  Data: 
- Name: 
  Entry: 0
  Data:

Comments (1)

  1. Log in to comment