Unexpected error, help request

Hello,

I have just started a quick little project and haven’t done any coding yet in it. Whenever I press play I receive two errors,
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.ProfilerWindow.SaveViewSettings () (at :0)
UnityEditor.ProfilerWindow.OnDisable () (at :0)
and
IConnectionState was not Disposed! Please make sure to call Dispose in OnDisable of the EditorWindow in which it was used.
UnityEditor.Networking.PlayerConnection.GeneralConnectionState:Finalize ()

Here is a screenshot of them,

Thank you, I will appreciate any help.

1 Like

Hi Ploopy,

Have you already tried to restart Unity? If so, go to Window > Package Manager and uninstall the Networking package. Maybe that’ll fix the issue.

Also please go to Window > Layouts and select “Default”. This often fixes issues when “EditorWindow” is mentioned in an error message. If you created your own layout, remove that, select “Default”, rearrange the windows and save it again.


See also:

2 Likes

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

Privacy & Terms