Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullReferenceException when using 2023.2.5f1 #140

Open
AndrewKahr opened this issue Jan 28, 2024 · 0 comments
Open

NullReferenceException when using 2023.2.5f1 #140

AndrewKahr opened this issue Jan 28, 2024 · 0 comments

Comments

@AndrewKahr
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant