Search found 26 matches

by fanaei
Sat Aug 25, 2018 8:27 am
Forum: General Discussion
Topic: Easy save is not easy for me!
Replies: 27
Views: 18020

Re: Easy save is not easy for me!

I save my Sprite with this code: ES3.Save<Sprite> ("SpriteTest", itemBigPic [0]); As you can see I have a Sprite in my Inspector: Problem1.jpg And load it with: if (ES3.KeyExists ("SpriteTest")){itemBigPic[0] = ES3.Load<Sprite> ("SpriteTest");} But after loading, there ...
by fanaei
Sat Aug 25, 2018 8:14 am
Forum: General Discussion
Topic: Easy save is not easy for me!
Replies: 27
Views: 18020

Re: Easy save is not easy for me!

Hi there, Would you be able to let me know what aspects of your Image changes? You probably do not want to serialise the entire Image, as this would also store it's image data each time. Are these instantiated at runtime, or does an instance of this Image always exist in the scene? If you could giv...
by fanaei
Sat Aug 25, 2018 8:12 am
Forum: General Discussion
Topic: Easy save is not easy for me!
Replies: 27
Views: 18020

Re: Easy save is not easy for me!

I want to save a Sprite but the Sprite doesn't get saved. And when I want to change the propertis I get this error: Assets/Easy Save 3/Types/ES3Type_Sprite.cs(40,19): error CS0143: The class `UnityEngine.Sprite' has no constructors defined It's my ES3Type_Sprite file: using System; using UnityEngine...
by fanaei
Sat Aug 25, 2018 7:24 am
Forum: General Discussion
Topic: Easy save is not easy for me!
Replies: 27
Views: 18020

Re: Easy save is not easy for me!

The problems and errors of Auto saving was so annoying. So I decided to do it manually.
Now can you help me that how can I save this array?
public Image[] itemBgImages = new Image[numItemSlots];
by fanaei
Fri Aug 24, 2018 4:50 pm
Forum: General Discussion
Topic: Easy save is not easy for me!
Replies: 27
Views: 18020

Re: Easy save is not easy for me!

Honestly your asset is going to make me crazy! :cry: Now I get lots of new objects in the scene! What are these?! Problem.jpg Also I'm trying to save Inventory settings on my Main Camera, but when I save and then load, My camera doesn't follow the Player anymore! These things are going to be so anno...
by fanaei
Fri Aug 24, 2018 4:41 pm
Forum: General Discussion
Topic: Easy save is not easy for me!
Replies: 27
Views: 18020

Re: Easy save is not easy for me!

Deleted "Easy Save 3 Manager" and added it again, so it got fixed!
by fanaei
Fri Aug 24, 2018 4:14 pm
Forum: General Discussion
Topic: Easy save is not easy for me!
Replies: 27
Views: 18020

Re: Easy save is not easy for me!

Thank you Joel for Update. But I got a new Problem! :cry: Now I can't save the game at all! It's the error: NullReferenceException: Object reference not set to an instance of an object ES3AutoSaveMgr.Save () (at Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSaveMgr.cs:35) SaveLoadGame.SaveTheG...
by fanaei
Fri Aug 24, 2018 3:06 pm
Forum: General Discussion
Topic: Easy save is not easy for me!
Replies: 27
Views: 18020

Re: Easy save is not easy for me!

I was trying to disable localPosition variable from transform type, but every time that I unchecked it, it was getting checked again automatically! Finally I found out that there are two ES3Type_Transform files and by changing the script on another file, it got fixed! (And I'm still waiting for the ...
by fanaei
Fri Aug 24, 2018 10:15 am
Forum: General Discussion
Topic: Easy save is not easy for me!
Replies: 27
Views: 18020

Re: Easy save is not easy for me!

The project is big and with my slow connection it's hard to upload it. But I fixed that error. It seems it was just missing a variable on load that was saved.
(I'm still waiting for your update. I've sent you my invoice in PM)
by fanaei
Thu Aug 23, 2018 3:02 pm
Forum: General Discussion
Topic: Easy save is not easy for me!
Replies: 27
Views: 18020

Re: Easy save is not easy for me!

I got this error after adding Auto save component to my Inventory object:
Does it mean that I can't use Sprites as variables?!

Code: Select all

ArgumentException: Only types of UnityEngine.Object can be written with this method, but argument given is type of UnityEngine.Sprite