Page 1 of 1

problem with new version unity

Posted: Wed May 12, 2021 5:47 am
by dhavamba
With Unity 2021, this error appears in the console every time (it does not give any problem but it is annoying), how can I solve it?

System.NullReferenceException: Object reference not set to an instance of an object
at UnityEngine.UIElements.BaseLiveReloadAssetTracker`1[T].StartTrackingAsset (T asset) [0x0003e] in <52d042b59b5f4b5fa4d9379442f5155a>:0
at UnityEngine.UIElements.VisualElement.HandlePanelAttachmentEvents (UnityEngine.UIElements.EventBase evt) [0x000a9] in <52d042b59b5f4b5fa4d9379442f5155a>:0
at UnityEngine.UIElements.VisualElement.ExecuteDefaultAction (UnityEngine.UIElements.EventBase evt) [0x0010e] in <52d042b59b5f4b5fa4d9379442f5155a>:0
at UnityEngine.UIElements.CallbackEventHandler.HandleEvent (UnityEngine.UIElements.EventBase evt) [0x000ae] in <52d042b59b5f4b5fa4d9379442f5155a>:0
at UnityEngine.UIElements.EventDispatchUtilities.ExecuteDefaultAction (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) [0x00054] in <52d042b59b5f4b5fa4d9379442f5155a>:0
at UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) [0x000ba] in <52d042b59b5f4b5fa4d9379442f5155a>:0
at UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) [0x00046] in <52d042b59b5f4b5fa4d9379442f5155a>:0
at UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) [0x0001a] in <52d042b59b5f4b5fa4d9379442f5155a>:0
at UnityEngine.UIElements.VisualElement.HasChangedPanel (UnityEngine.UIElements.BaseVisualElementPanel prevPanel) [0x00061] in <52d042b59b5f4b5fa4d9379442f5155a>:0
at UnityEngine.UIElements.VisualElement.SetPanel (UnityEngine.UIElements.BaseVisualElementPanel p) [0x001b1] in <52d042b59b5f4b5fa4d9379442f5155a>:0
at UnityEngine.UIElements.VisualElement+Hierarchy.SetParent (UnityEngine.UIElements.VisualElement value) [0x00038] in <52d042b59b5f4b5fa4d9379442f5155a>:0
at UnityEngine.UIElements.VisualElement+Hierarchy.Insert (System.Int32 index, UnityEngine.UIElements.VisualElement child) [0x000e4] in <52d042b59b5f4b5fa4d9379442f5155a>:0
at UnityEngine.UIElements.VisualElement+Hierarchy.Add (UnityEngine.UIElements.VisualElement child) [0x0001b] in <52d042b59b5f4b5fa4d9379442f5155a>:0
at UnityEngine.UIElements.VisualElement.Add (UnityEngine.UIElements.VisualElement child) [0x00038] in <52d042b59b5f4b5fa4d9379442f5155a>:0
at UnityEditor.UIElements.DefaultEditorWindowBackend.AddRootElement (UnityEngine.UIElements.VisualElement root) [0x0000c] in <47d44085adbe43bd896d97295bdef4f5>:0
at UnityEditor.UIElements.DefaultEditorWindowBackend.RegisterWindow () [0x000c7] in <47d44085adbe43bd896d97295bdef4f5>:0
at UnityEditor.UIElements.DefaultEditorWindowBackend.UnityEditor.IEditorWindowBackend.OnRegisterWindow () [0x00001] in <47d44085adbe43bd896d97295bdef4f5>:0
at UnityEditor.HostView.RegisterSelectedPane (System.Boolean sendEvents) [0x00035] in <9b8dec54b88e4aa9b9661a30f7e3f61e>:0
at UnityEditor.HostView.SetActualViewInternal (UnityEditor.EditorWindow value, System.Boolean sendEvents) [0x0004b] in <9b8dec54b88e4aa9b9661a30f7e3f61e>:0
at UnityEditor.DockArea.SetSelectedPrivate (System.Int32 value, System.Boolean sendEvents) [0x00059] in <9b8dec54b88e4aa9b9661a30f7e3f61e>:0
at UnityEditor.DockArea.AddTab (System.Int32 idx, UnityEditor.EditorWindow pane, System.Boolean sendPaneEvents) [0x00018] in <9b8dec54b88e4aa9b9661a30f7e3f61e>:0
at UnityEditor.DockArea.AddTab (UnityEditor.EditorWindow pane, System.Boolean sendPaneEvents) [0x0000d] in <9b8dec54b88e4aa9b9661a30f7e3f61e>:0
at UnityEditor.EditorWindow.CreateNewWindowForEditorWindow (UnityEditor.EditorWindow window, System.Boolean loadPosition, System.Boolean showImmediately, System.Boolean setFocus) [0x0001b] in <9b8dec54b88e4aa9b9661a30f7e3f61e>:0
at UnityEditor.EditorWindow.Show (System.Boolean immediateDisplay) [0x00011] in <9b8dec54b88e4aa9b9661a30f7e3f61e>:0
at UnityEditor.EditorWindow.Show () [0x00001] in <9b8dec54b88e4aa9b9661a30f7e3f61e>:0
at UnityEditor.EditorWindow.GetWindowPrivate (System.Type t, System.Boolean utility, System.String title, System.Boolean focus) [0x00069] in <9b8dec54b88e4aa9b9661a30f7e3f61e>:0
at UnityEditor.EditorWindow.GetWindow (System.Type t) [0x00001] in <9b8dec54b88e4aa9b9661a30f7e3f61e>:0
at ES3Editor.ES3Window.InitAndShowHome () [0x00001] in C:\Users\Utente\Documents\UnityGames\PearlTemplate\Assets\PearlTemplate\Plugins\Easy Save 3\Editor\ES3Window.cs:26
at ES3Editor.ES3Window.OpenEditorWindowOnStart () [0x00010] in C:\Users\Utente\Documents\UnityGames\PearlTemplate\Assets\PearlTemplate\Plugins\Easy Save 3\Editor\ES3Window.cs:205
at ES3Postprocessor..cctor () [0x0000d] in C:\Users\Utente\Documents\UnityGames\PearlTemplate\Assets\PearlTemplate\Plugins\Easy Save 3\Editor\ES3Postprocessor.cs:39
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[])

Re: problem with new version unity

Posted: Wed May 12, 2021 8:26 am
by Joel
Hi there,

This is a bug at Unity's end, but one we've not managed to replicate at our end. If you could send them a bug report that would be greatly appreciated.

In the meantime if you private message me your invoice number I can send over a potential workaround for this.

All the best,
Joel

Re: problem with new version unity

Posted: Sat May 22, 2021 1:30 pm
by apotema
I am having a similar problem with 2021.1.7.f1
Is there a fix?

One warning and one error.

WARNING

Failed to destroy editor windows: #1
ES3Window Easy Save [-824]

UnityEditor.WindowLayout:LoadDefaultWindowPreferences () (at /Users/bokken/buildslave/unity/build/Editor/Mono/GUI/WindowLayout.cs:84)

====================================================

ERROR

System.NullReferenceException: Object reference not set to an instance of an object
at UnityEngine.UIElements.BaseLiveReloadAssetTracker`1[T].StartTrackingAsset (T asset) [0x00032] in /Users/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Core/BaseLiveReloadAssetTracker.cs:47
at UnityEngine.UIElements.VisualElement.HandlePanelAttachmentEvents (UnityEngine.UIElements.EventBase evt) [0x000a9] in /Users/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Core/VisualElementHierarchy.cs:1056
at UnityEngine.UIElements.VisualElement.ExecuteDefaultAction (UnityEngine.UIElements.EventBase evt) [0x0010e] in /Users/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Core/VisualElement.cs:1040
at UnityEngine.UIElements.CallbackEventHandler.HandleEvent (UnityEngine.UIElements.EventBase evt) [0x000ae] in /Users/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Core/Events/EventHandler.cs:170
at UnityEngine.UIElements.EventDispatchUtilities.ExecuteDefaultAction (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) [0x0004e] in /Users/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Core/Events/IEventDispatchingStrategy.cs:213
at UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) [0x000ba] in /Users/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Core/EventDispatcher.cs:352
at UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) [0x00046] in /Users/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Core/EventDispatcher.cs:216
at UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) [0x00010] in /Users/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Core/Panel.cs:399
at UnityEngine.UIElements.VisualElement.HasChangedPanel (UnityEngine.UIElements.BaseVisualElementPanel prevPanel) [0x0005b] in /Users/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Core/VisualElement.cs:1153
at UnityEngine.UIElements.VisualElement.SetPanel (UnityEngine.UIElements.BaseVisualElementPanel p) [0x001b1] in /Users/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Core/VisualElement.cs:1112
at UnityEngine.UIElements.VisualElement+Hierarchy.SetParent (UnityEngine.UIElements.VisualElement value) [0x00022] in /Users/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Core/VisualElementHierarchy.cs:661
at UnityEngine.UIElements.VisualElement+Hierarchy.Insert (System.Int32 index, UnityEngine.UIElements.VisualElement child) [0x000dc] in /Users/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Core/VisualElementHierarchy.cs:440
at UnityEngine.UIElements.VisualElement+Hierarchy.Add (UnityEngine.UIElements.VisualElement child) [0x00014] in /Users/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Core/VisualElementHierarchy.cs:402
at UnityEngine.UIElements.VisualElement.Add (UnityEngine.UIElements.VisualElement child) [0x00030] in /Users/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Core/VisualElementHierarchy.cs:98
at UnityEditor.UIElements.DefaultEditorWindowBackend.AddRootElement (UnityEngine.UIElements.VisualElement root) [0x00001] in /Users/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Editor/WindowBackends/DefaultEditorWindowBackend.cs:163
at UnityEditor.UIElements.DefaultEditorWindowBackend.RegisterWindow () [0x000c7] in /Users/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Editor/WindowBackends/DefaultEditorWindowBackend.cs:126
at UnityEditor.UIElements.DefaultEditorWindowBackend.UnityEditor.IEditorWindowBackend.OnRegisterWindow () [0x00001] in /Users/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Editor/WindowBackends/DefaultEditorWindowBackend.cs:97
at UnityEditor.HostView.RegisterSelectedPane (System.Boolean sendEvents) [0x0002b] in /Users/bokken/buildslave/unity/build/Editor/Mono/HostView.cs:475
at UnityEditor.HostView.SetActualViewInternal (UnityEditor.EditorWindow value, System.Boolean sendEvents) [0x0004b] in /Users/bokken/buildslave/unity/build/Editor/Mono/HostView.cs:74
at UnityEditor.DockArea.SetSelectedPrivate (System.Int32 value, System.Boolean sendEvents) [0x00047] in /Users/bokken/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:99
at UnityEditor.DockArea.AddTab (System.Int32 idx, UnityEditor.EditorWindow pane, System.Boolean sendPaneEvents) [0x00018] in /Users/bokken/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:188
at UnityEditor.DockArea.AddTab (UnityEditor.EditorWindow pane, System.Boolean sendPaneEvents) [0x00001] in /Users/bokken/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:181
at UnityEditor.EditorWindow.CreateNewWindowForEditorWindow (UnityEditor.EditorWindow window, System.Boolean loadPosition, System.Boolean showImmediately, System.Boolean setFocus) [0x0001b] in /Users/bokken/buildslave/unity/build/Editor/Mono/EditorWindow.cs:1159
at UnityEditor.EditorWindow.Show (System.Boolean immediateDisplay) [0x00011] in /Users/bokken/buildslave/unity/build/Editor/Mono/EditorWindow.cs:617
at UnityEditor.EditorWindow.Show () [0x00001] in /Users/bokken/buildslave/unity/build/Editor/Mono/EditorWindow.cs:609
at UnityEditor.EditorWindow.GetWindowPrivate (System.Type t, System.Boolean utility, System.String title, System.Boolean focus) [0x00057] in /Users/bokken/buildslave/unity/build/Editor/Mono/EditorWindow.cs:661
at UnityEditor.EditorWindow.GetWindow (System.Type t) [0x00001] in /Users/bokken/buildslave/unity/build/Editor/Mono/EditorWindow.cs:693
at ES3Editor.ES3Window.InitAndShowHome () [0x00000] in /Users/alexandrecalvao/prj/moca_games/the_long_snow_unity/Assets/Plugins/Easy Save 3/Editor/ES3Window.cs:26
at ES3Editor.ES3Window.OpenEditorWindowOnStart () [0x0000d] in /Users/alexandrecalvao/prj/moca_games/the_long_snow_unity/Assets/Plugins/Easy Save 3/Editor/ES3Window.cs:205
at ES3Postprocessor..cctor () [0x00000] in /Users/alexandrecalvao/prj/moca_games/the_long_snow_unity/Assets/Plugins/Easy Save 3/Editor/ES3Postprocessor.cs:39
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[]) (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorAssemblies.cs:118)

Re: problem with new version unity

Posted: Sat May 22, 2021 1:49 pm
by Joel
Hi there,

As mentioned above, if you private message me your invoice number I will send the update.

All the best,
Joel

Re: problem with new version unity

Posted: Fri May 28, 2021 7:07 pm
by gumbomasta
Also having this exact issue. Any progress from Unity Support?

Curious if this has caused issues with actual functionality for anyone else dealing w this bug.

Re: problem with new version unity

Posted: Sat May 29, 2021 8:08 am
by Joel
gumbomasta wrote: Fri May 28, 2021 7:07 pm Also having this exact issue. Any progress from Unity Support?

Curious if this has caused issues with actual functionality for anyone else dealing w this bug.
Hi there,

As mentioned previously, if you private message me your invoice number I can send over the update.

Because we've still not been able to replicate it at our end, we've not been able to send a bug report to Unity. If you're able to replicate it I'd appreciate it if you could send a bug report to Unity.

All the best,
Joel

Re: problem with new version unity

Posted: Sat May 29, 2021 3:17 pm
by gumbomasta
Will DM you as well as send a bug report to Unity on this.

Re: problem with new version unity

Posted: Mon Jun 14, 2021 12:37 pm
by gumbomasta
I sent a bug report to Unity several weeks ago laying out this issue and received a reply this morning:

7:48 AM (44 minutes ago)

to me
Hi,

Thank you for contacting us.

The issue is related to the Easy Save 3, which is a 3rd party package. Currently, Unity does not support 3rd party packages, thus, we recommend contacting the developer of that package for further assistance

Regards,
Kipras
Customer QA Team

One thing I did notice is that I'm running a version of my project on two different computers, one of which is not throwing the error, while the other is.

Re: problem with new version unity

Posted: Mon Jun 14, 2021 1:25 pm
by Joel
Hi there,

They've likely provided that as a default response because the error is triggered by Easy Save, but the underlying issue is thrown by a NullReferenceException in their API which goes against their specification.

Unfortunately as I've still had no projects which replicate this, I'm unable to provide any further assistance as I'm not able to produce a repro project to send them.

All the best,
Joel