Error - signals or timeline trying to figure it out

I just started getting this error whenever I play my project. I’ve seen some other references to it, but all seem to do with having a second inspector window open, and I do not. Thanks

SerializedObjectNotCreatableException: Object at index 0 is null
UnityEditor.Editor.CreateSerializedObject () (at <582c35e8f45345d395e99f8e72e3c16d>:0)
UnityEditor.Editor.GetSerializedObjectInternal () (at <582c35e8f45345d395e99f8e72e3c16d>:0)
UnityEditor.Editor.get_serializedObject () (at <582c35e8f45345d395e99f8e72e3c16d>:0)
UnityEditor.Timeline.Signals.SignalReceiverInspector.OnEnable () (at ./Library/PackageCache/com.unity.timeline@1.7.4/Editor/Signals/SignalReceiverInspector.cs:26)

Been trying to push myself to do more Timeline explorations… I attached the debugger to the line above and played around a bit.

The above code runs only if you have a Signal track defined… it is the “signal receiver inspector” after all. :slight_smile:

To debug it, put a breakpoint in there in the OnEnable() and see if you can figure out what issue it is having.

Grossly you might try deleting and re-adding your signal track(s). From your error it feels like some serialized object it is linking (perhaps the target signal receiver? perhaps the host timeline itself?) is now null.

And it looks like it’s an object that might be (or be in) a collection of some kind, based on the index at zero part.

Obviously I’m assuming you use proper source control so you can rip-tear-shred your timeline and instantly restore it with a click.

EDIT: or maybe just do a reimport-all… :slight_smile: