Not saving / loading runtime changed color of a material

Discussion and help for Easy Save 3
Post Reply
xkinginthecastlex
Posts: 29
Joined: Thu Nov 08, 2018 6:07 pm

Not saving / loading runtime changed color of a material

Post by xkinginthecastlex »

Hi Joel,

I hope you could help me a bit ..

I am using an asset which enables color picking at runtime (it changes the color of a material)

Everything works so far, but unfortunately I can´t save and load the runtime changed color.
I´ve setup a small sample project - please check your inbox.

I would very much appreciate if you could help me!

Thanks

______________

EDIT: plz check the 2nd inbox message with a new sample project
xkinginthecastlex
Posts: 29
Joined: Thu Nov 08, 2018 6:07 pm

Re: Not saving / loading runtime changed color of a material

Post by xkinginthecastlex »

Hi Joel,

fyi I have tested the pack in 2019.4.17f1 as well as 2019.4.18f1, but I am also receving the below mentioned error in the latest unity version:

FormatException: Expected ',' separating properties or '"' before property name, found '{'.
ES3Internal.ES3JSONReader.ReadPropertyName () (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3JSONReader.cs:63)
ES3Reader.ReadRefProperty () (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs:153)
ES3Types.ES3Type_GameObject.ReadObject[T] (ES3Reader reader) (at Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GameObject.cs:102)
ES3Types.ES3ObjectType.Read[T] (ES3Reader reader) (at Assets/Plugins/Easy Save 3/Scripts/Types/ES3ObjectType.cs:54)
ES3Reader.ReadObject[T] (ES3Types.ES3Type type) (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs:249)
ES3Reader.Read[T] (ES3Types.ES3Type type) (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs:278)
ES3Types.ES3CollectionType.ReadICollection[T] (ES3Reader reader, System.Collections.Generic.ICollection`1[T] collection, ES3Types.ES3Type elementType) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3CollectionType.cs:52)
ES3Types.ES3ArrayType.Read (ES3Reader reader) (at Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ArrayType.cs:36)
ES3Reader.Read[T] (ES3Types.ES3Type type) (at Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs:274)
ES3.Deserialize (ES3Types.ES3Type type, System.Byte[] bytes, ES3Settings settings) (at Assets/Plugins/Easy Save 3/Scripts/ES3.cs:775)
ES3.Deserialize[T] (System.Byte[] bytes, ES3Settings settings) (at Assets/Plugins/Easy Save 3/Scripts/ES3.cs:764)
ES3File.Load[T] (System.String key, T defaultValue) (at Assets/Plugins/Easy Save 3/Scripts/ES3File.cs:243)
ES3.Load[T] (System.String key, T defaultValue, ES3Settings settings) (at Assets/Plugins/Easy Save 3/Scripts/ES3.cs:413)
ES3AutoSaveMgr.Load () (at Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSaveMgr.cs:81)
Crosstales.FB.Examples.OpenSingleFile () (at Assets/Plugins/crosstales/FileBrowser/Demo/Scripts/Examples.cs:50)
UnityEngine.Events.InvokableCall.Invoke () (at <17ad9609ae064f2c9315931ff97adcf1>:0)
UnityEngine.Events.UnityEvent.Invoke () (at <17ad9609ae064f2c9315931ff97adcf1>:0)
UnityEngine.UI.Button.Press () (at F:/Unity-Versions/2019.4.18f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/UI/Core/Button.cs:68)
UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at F:/Unity-Versions/2019.4.18f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/UI/Core/Button.cs:110)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at F:/Unity-Versions/2019.4.18f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/ExecuteEvents.cs:50)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at F:/Unity-Versions/2019.4.18f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/ExecuteEvents.cs:261)
UnityEngine.EventSystems.EventSystem:Update() (at F:/Unity-Versions/2019.4.18f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/EventSystem.cs:377)

I didn´t had this issue with 3.3.1f10 but I coudn´t save or load the runtime changed color..
I am not sure if you have received my message here as I am seeing my message multiple times..

Please let me know if you know a way how to fix this..

Many thanks for your support
User avatar
Joel
Moodkie Staff
Posts: 4846
Joined: Wed Nov 07, 2012 10:32 pm

Re: Not saving / loading runtime changed color of a material

Post by Joel »

Hi there,

I've replied to your PM.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Post Reply