Search found 13 matches
- Wed Feb 21, 2024 3:27 pm
- Forum: General Discussion
- Topic: ES3 Ref Mgr is saving refs of editor only assets
- Replies: 4
- Views: 1612
Re: ES3 Ref Mgr is saving refs of editor only assets
Have you followed the instructions I linked in my previous post? Yes. After excluding the objects it still didn't work because the mgr has refs to those excluded objects marked as excluded, but after excluding, I refreshed and removed the objects from the excluded objects of the mgr, then refreshed...
- Wed Feb 21, 2024 2:02 pm
- Forum: General Discussion
- Topic: ES3 Ref Mgr is saving refs of editor only assets
- Replies: 4
- Views: 1612
Re: ES3 Ref Mgr is saving refs of editor only assets
Hi there, Are you using the latest version of Easy Save? Easy Save will only add assets which are marked as runtime, so if this is the case it would indicate that either the asset has the incorrect HideFlags assigned. If this is the case you can follow the Manually Excluding References section of t...
- Wed Feb 21, 2024 6:08 am
- Forum: General Discussion
- Topic: ES3 Ref Mgr is saving refs of editor only assets
- Replies: 4
- Views: 1612
ES3 Ref Mgr is saving refs of editor only assets
Hello,
I found that es3 ref mgr also includes the refs of the editor only assets such as TMP - Text Component Icon, which prevents me from building the scene to an addressable. How can I handle this?
I found that es3 ref mgr also includes the refs of the editor only assets such as TMP - Text Component Icon, which prevents me from building the scene to an addressable. How can I handle this?
- Wed Dec 20, 2023 12:12 pm
- Forum: General Discussion
- Topic: How to store the ref of a ScriptableObject only?
- Replies: 3
- Views: 1219
Re: How to store the ref of a ScriptableObject only?
After some research, I found it was because I was storing them to a List<object> so they were not saved by ref. After changing it to List<UnityEngine.Object> they are now being saved by ref.
Is there another way to explicitly save an object by ref?
Is there another way to explicitly save an object by ref?
- Wed Dec 20, 2023 6:03 am
- Forum: General Discussion
- Topic: How to store the ref of a ScriptableObject only?
- Replies: 3
- Views: 1219
How to store the ref of a ScriptableObject only?
Hello,
I just found loading a SO also loads the data inside the SO. I am using SOs as info sources and don't want their data to be saved in runtime. How can I save the ref only?
I just found loading a SO also loads the data inside the SO. I am using SOs as info sources and don't want their data to be saved in runtime. How can I save the ref only?
- Tue Oct 31, 2023 1:21 pm
- Forum: General Discussion
- Topic: FormatException: Expected '{' or "null", found '['.
- Replies: 6
- Views: 1443
Re: FormatException: Expected '{' or "null", found '['.
You can try the following undocumented internal method: try { ES3Internal.ES3TypeMgr.GetOrCreateES3Type(typeof(YourType)); } catch { Debug.Log("Not supported"); } However, as mentioned above this won't work for the situation you've described above because Dictionary<string, object> is a s...
- Tue Oct 31, 2023 11:28 am
- Forum: General Discussion
- Topic: FormatException: Expected '{' or "null", found '['.
- Replies: 6
- Views: 1443
Re: FormatException: Expected '{' or "null", found '['.
The only way for your particular Dictionary would be to attempt to save and load it and catch the exception as it's not possible to determine what types of data your Dictionary contains from the type alone. All the best, Joel I see the problem. I am wondering if there is a method like IsSupported(t...
- Tue Oct 31, 2023 1:32 am
- Forum: General Discussion
- Topic: FormatException: Expected '{' or "null", found '['.
- Replies: 6
- Views: 1443
Re: FormatException: Expected '{' or "null", found '['.
Hi there, This happens because the value of your Dictionary is object which provides no information about the type of data, and it's not possible to store type information with a List. In this case it tries to load it as an object rather than a List, which causes your error. So that it's possible t...
- Mon Oct 30, 2023 1:23 pm
- Forum: General Discussion
- Topic: FormatException: Expected '{' or "null", found '['.
- Replies: 6
- Views: 1443
FormatException: Expected '{' or "null", found '['.
Dictionary<string, object> data;
data["Key"] = some list;
When I save and load a dictionary like this, this exception is thrown. Is there a way to solve or work around this?
data["Key"] = some list;
When I save and load a dictionary like this, this exception is thrown. Is there a way to solve or work around this?
- Thu Oct 19, 2023 6:15 am
- Forum: General Discussion
- Topic: _Values changed in ES3GlobalReferences.asset
- Replies: 2
- Views: 633
Re: _Values changed in ES3GlobalReferences.asset
After some investigations, I found this _Values is the list of reference IDs and it changes whenever there are ref changes. I guess in most cases I don't need to worry about it right?