NullReferenceException: Object reference not set to an instance of an object
Unity.Cloud.Collaborate.UserInterface.CollaborateWindow.OnDisable () (at Library/PackageCache/com.unity.collab-proxy@1.5.7/Editor/Collaborate/UserInterface/CollaborateWindow.cs:86) UnityEditor.EditorApplicationLayout:InitPlaymodeLayout()
I'm just beginning my first game in unity and during the running of the game, this error keep popping up in the console. I don't know what is going on but I never edited this script and have no idea what script it is but here is the code and I would like someone to tell me how to fix this thanks.
The error location is on the 6th line of the sample code.
void OnDisable()
{
EditorApplication.playModeStateChanged -= OnPlayModeStateChanged;
AssemblyReloadEvents.beforeAssemblyReload -= OnBeforeAssemblyReload;
AssemblyReloadEvents.afterAssemblyReload -= OnAfterAssemblyReload;
m_Provider.UpdatedProjectStatus -= OnUpdatedProjectStatus;
m_Models.ForEach(m => m.OnStop());
}
void CreateGUI()