Search found 25 matches

by BTippen
Sat Nov 28, 2020 12:40 am
Forum: General Discussion
Topic: Are Dictionary data types supported?
Replies: 1
Views: 719

Re: Are Dictionary data types supported?

Its ok guys i figured it out. I didnt have a blank constructor on the data.
by BTippen
Fri Nov 27, 2020 10:16 pm
Forum: General Discussion
Topic: Are Dictionary data types supported?
Replies: 1
Views: 719

Are Dictionary data types supported?

Having trouble saving a Dictionary. Getting this message: NotSupportedException: ES3Type.type is null when trying to create an ES3Type for System.Collections.Generic.Dictionary`2[UnityEngine.Vector3Int,AntColony], possibly because the element type is not supported. ES3Internal.ES3TypeMgr.CreateES3Ty...
by BTippen
Mon Nov 23, 2020 3:50 pm
Forum: General Discussion
Topic: Getting error when saving List
Replies: 21
Views: 3826

Re: Getting error when saving List

It Works!!!!!!!!

Thank you so much Joel. I appreciate you.
by BTippen
Mon Nov 23, 2020 3:24 pm
Forum: General Discussion
Topic: Getting error when saving List
Replies: 21
Views: 3826

Re: Getting error when saving List

Here is the same file getting loaded again. You can see it hasnt saved the data:
Loadexample.jpg
Loadexample.jpg (333.11 KiB) Viewed 1329 times
by BTippen
Mon Nov 23, 2020 3:14 pm
Forum: General Discussion
Topic: Getting error when saving List
Replies: 21
Views: 3826

Re: Getting error when saving List

here you can see the file i am saving is full:
Easy Save example.png
Easy Save example.png (417.41 KiB) Viewed 1329 times
by BTippen
Mon Nov 23, 2020 3:07 pm
Forum: General Discussion
Topic: Getting error when saving List
Replies: 21
Views: 3826

Re: Getting error when saving List

Joel, I sent you a copy of the file produced. I have checked the location it is saving to and it is correct. It is the saving thats the problem i believe. I know the object being saved is good because the same object works using binaryFormatter. Here is the line of code im using to save (noting in t...
by BTippen
Mon Nov 23, 2020 1:33 pm
Forum: General Discussion
Topic: Getting error when saving List
Replies: 21
Views: 3826

Re: Getting error when saving List

It will be hard to cut the game up as it is very large now. and ill the parts depend on each other. here is the datacontroller script. If I use the binaryFormatter to save and load it works but only on a PC not on andriod. However when I use Easy Save it loads the right number for the list but each ...
by BTippen
Sun Nov 22, 2020 11:07 pm
Forum: General Discussion
Topic: Getting error when saving List
Replies: 21
Views: 3826

Re: Getting error when saving List

OK i got it to find the file. But now the List is full of nulls. Its got the correct number of entries just there is nothing in them. here is my save line: private string ES3_DATA_FILENAME = "/ES3_AntSpeciesList.bytes"; private string ES3_DataKey = "antSpeciesList"; ES3.Save(ES3_...
by BTippen
Sun Nov 22, 2020 10:34 pm
Forum: General Discussion
Topic: Getting error when saving List
Replies: 21
Views: 3826

Re: Getting error when saving List

this line doesnt work when saving: AssetDatabase.Refresh();

Says it doesnt exist in the current context.
by BTippen
Sun Nov 22, 2020 8:48 pm
Forum: General Discussion
Topic: Getting error when saving List
Replies: 21
Views: 3826

Re: Getting error when saving List

IM now getting a path cant be found error but the path is correct and the file is there: FileNotFoundException: File "D:/Unity Games/Recovered/Ants2DRecovered11NOV/Assets/Resources/Data/ES3_AntSpeciesList.byte" could not be found. ES3.Load[T] (System.String key, ES3Settings settings) (at A...