Strange bug in unity 2019.3.0

Discussion and help for Easy Save 3
nMikharev
Posts: 4
Joined: Fri Dec 27, 2019 8:42 am

Strange bug in unity 2019.3.0

Post by nMikharev »

Hello! I am encountered strange bug with editor:
Windows 10
Using Unity 2019.3.0a10
last version of Easy Save Package from Asset Store

Symptoms:
Going: Window> Easy Save 3> Settings
- My mouse cursor starts flickering between normal and loading indications.
- I cant change anything in settings
- I tried to do simple scene with couple of values to save, on load there is "FileNotFoundException: File "C:/Users/nmikh/AppData/LocalLow/DefaultCompany/blankEZSave3/TestString" could not be found."

Here is my testProject: LINK DELETED
Contents:
Assets/someData.cs - Component for testing
Assets/TestScene - scene with someData and values.

the logs are follows:

Code: Select all

ArgumentNullException: Value cannot be null.
Parameter name: target
ES3Editor.SettingsWindow.OnGUI () (at Assets/Plugins/Easy Save 3/Editor/SettingsWindow.cs:73)
ES3Editor.ES3Window.OnGUI () (at Assets/Plugins/Easy Save 3/Editor/ES3Window.cs:101)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <a8ed250850854b439cedc18931a314fe>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <a8ed250850854b439cedc18931a314fe>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <a8ed250850854b439cedc18931a314fe>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <5e3c867fd4cc418f8c0584e878722a23>:0)
UnityEditor.HostView.Invoke (System.String methodName) (at <5e3c867fd4cc418f8c0584e878722a23>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <5e3c867fd4cc418f8c0584e878722a23>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <5e3c867fd4cc418f8c0584e878722a23>:0)
UnityEditor.DockArea.OldOnGUI () (at <5e3c867fd4cc418f8c0584e878722a23>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Boolean eventIsPropagatedFromNonFocusableVisualElement) (at <77aeb935848248f4a7c51786da67afda>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Boolean eventIsPropagatedFromNonFocusableVisualElement) (at <77aeb935848248f4a7c51786da67afda>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean eventIsPropagatedFromNonFocusableVisualElement) (at <77aeb935848248f4a7c51786da67afda>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt) (at <77aeb935848248f4a7c51786da67afda>:0)
UnityEngine.UIElements.KeyboardEventDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <77aeb935848248f4a7c51786da67afda>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <77aeb935848248f4a7c51786da67afda>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <77aeb935848248f4a7c51786da67afda>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <77aeb935848248f4a7c51786da67afda>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <77aeb935848248f4a7c51786da67afda>:0)
UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <77aeb935848248f4a7c51786da67afda>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <4f9e434a03b44b1eac12c36be746035c>:0)

User avatar
Joel
Moodkie Staff
Posts: 2827
Joined: Wed Nov 07, 2012 10:32 pm

Re: Strange bug in unity 2019.3.0

Post by Joel »

Hi there,

I've deleted your link because it contained the Easy Save package, and publicly distributing Easy Save outside of a built player is not allowed. In the future if you could PM me any projects that would be appreciated :)

I'm unable to provide support for alpha versions of Unity as they are known to be very unstable, so in this case I would recommend only using stable versions of Unity. If you PM me your invoice number I can send you the upcoming update to see if any fixes resolve the issue, but I cannot guarantee this.

With regards to your test project, please could you send me this with a stable version of Unity? It's not possible for me to downgrade from an alpha version to a stable version of Unity. Or alternatively you can send me the script you're using to save and load and I can see if I can ascertain what is happening from that.

All the best,
Joel
Joel @ Moodkie Interactive
Twitter - Unity

nMikharev
Posts: 4
Joined: Fri Dec 27, 2019 8:42 am

Re: Strange bug in unity 2019.3.0

Post by nMikharev »

Sended you PM :)

nMikharev
Posts: 4
Joined: Fri Dec 27, 2019 8:42 am

Re: Strange bug in unity 2019.3.0

Post by nMikharev »

Joel fixed the bug! And sanded me the fix.
So, if you suffer same strange UI behavior - pm him for the package.

SpaceDoubt
Posts: 1
Joined: Tue Jan 07, 2020 11:18 pm

Re: Strange bug in unity 2019.3.0

Post by SpaceDoubt »

Is this bug just from the save manager being auto-added? or is there more to it?
I don't use that feature, and with it off everything seems to be working as intended.
I just want to make sure I'm not missing something that's going to come back to bite me later.

I pm'd for the fix, but got no reply.

User avatar
Joel
Moodkie Staff
Posts: 2827
Joined: Wed Nov 07, 2012 10:32 pm

Re: Strange bug in unity 2019.3.0

Post by Joel »

SpaceDoubt wrote:Is this bug just from the save manager being auto-added? or is there more to it?
I don't use that feature, and with it off everything seems to be working as intended.
I just want to make sure I'm not missing something that's going to come back to bite me later.

I pm'd for the fix, but got no reply.
My apologies, I didn't receive any notification about your PM.

Note that as far as I'm aware this is not because of the Save Manager being added to your scene. This is an issue relating to the Settings panel flashing in Window > Easy Save 3.

All the best,
Joel
Joel @ Moodkie Interactive
Twitter - Unity

Bouiss
Posts: 2
Joined: Wed Feb 05, 2020 9:05 am

Re: Strange bug in unity 2019.3.0

Post by Bouiss »

hi ! i have the same problem on my project. Can you send me the fix by MP please ?

User avatar
Joel
Moodkie Staff
Posts: 2827
Joined: Wed Nov 07, 2012 10:32 pm

Re: Strange bug in unity 2019.3.0

Post by Joel »

Bouiss wrote:hi ! i have the same problem on my project. Can you send me the fix by MP please ?
Hi there,

If you PM me your invoice number I'll be happy to send this over.

All the best,
Joel
Joel @ Moodkie Interactive
Twitter - Unity

Bouiss
Posts: 2
Joined: Wed Feb 05, 2020 9:05 am

Re: Strange bug in unity 2019.3.0

Post by Bouiss »

it's one :D

qinjie
Posts: 3
Joined: Thu Feb 27, 2020 11:57 am

Re: Strange bug in unity 2019.3.0

Post by qinjie »

Bouiss wrote:hi ! i have the same problem on my project. Can you send me the fix by MP please ?
Open SettingsWindow.cs in your project, find Init() function and remove this line:

//PrefabUtility.SavePrefabAsset(defaultSettingsGo);

It should be solved.

Post Reply