Quiz Master List Element Disappearing at runtime?

I’m most of the way through the Quiz Master section of the 2D course and it runs properly, but I’m getting the following error on runtime and not sure what’s causing it:
ObjectDisposedException: SerializedProperty questionList.Array.data[3] has disappeared!

This occurs to the same element at every step, but the game functions fine otherwise. What could be causing this? I’ve been digging for it all morning and am getting clues pointing to the compiler so I’m assuming it’s my error rather than Unity.

Hi,

Have you already tried to restart Unity?

It might be that you are experiencing a bug in the Unity Editor:
https://forum.unity.com/threads/nullreferenceexception-serializedobject-of-serializedproperty-has-been-disposed.1431907/

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms