NullReferenceException when using 2023.2.5f1
AndrewKahr opened this issue · 0 comments
AndrewKahr commented
After installing the plugin into 2023.2.5f1, I get the following error log:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.PackageManager.UI.Internal.RegistryInfoDraft.OnBeforeSerialize () (at <2d8ca4eb2ddd452d9e2715b1b5605cbb>:0)
UnityEditorInternal.InternalEditorUtility:SaveToSerializedFileAndForgetInternal_Injected(ManagedSpanWrapper&, Object[], Boolean)
UnityEditorInternal.InternalEditorUtility:SaveToSerializedFileAndForgetInternal(String, Object[], Boolean)
UnityEditorInternal.InternalEditorUtility:SaveToSerializedFileAndForget(Object[], String, Boolean)
UnityEditor.PackageManager.UI.PackageManagerWindow:OnEnable()
This seems to occur whenever a package is updated/added/removed or any code compilation is triggered. If you close and reopen the package manager window, it seems to stop occurring. If you close and reopen the project, the error happens again and will happen for every subsequent code compilation.