I’m not sure what this error really is, nor why I’m getting it or how to fix it. It doesn’t seem to prevent me from doing anything, everything in my project works as intended, but as soon as I start the game, I get the error in the console. It just started happening out of seemingly nowhere as well, which is odd.
I thought it was because I had a script needing to point to an object and not having actually set it to point to anything, but I triple checked all my objects and their attached scripts, and that’s not the case.
Am currently using Unity 2022.3.6f1 if that changes anything, this is the log message:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.U2D.Animation.SpriteLibraryEditor.SpriteLibraryEditorWindow.OnDestroy () (at ./Library/PackageCache/com.unity.2d.animation@9.0.3/Editor/SpriteLib/SpriteLibraryEditor/SpriteLibraryEditorWindow.cs:61)
UnityEditor.EditorApplicationLayout:InitPlaymodeLayout()