Search found 6 matches

by Moonman
Sat Jan 15, 2022 5:29 pm
Forum: General Discussion
Topic: Texture '' is degenerate (dimensions 0x0)
Replies: 3
Views: 1231

Re: Texture '' is degenerate (dimensions 0x0)

Not sure. It causes Sprite "default" constructor protected override object ReadObject<T>(ES3Reader reader) { var instance = Sprite.Create(new Texture2D(0,0), new Rect(), Vector2.zero); ReadObject<T>(reader, instance); return instance; } I suppose, after running this code system just doen't...
by Moonman
Sat Jan 15, 2022 3:29 pm
Forum: General Discussion
Topic: Texture '' is degenerate (dimensions 0x0)
Replies: 3
Views: 1231

Texture '' is degenerate (dimensions 0x0)

I did some stuff trying to make the system save animator, so after some step is stopped to load all the buildings in game dropping a couple of errors for each "broken" instance. It happines at loading an array of GameObjesct with sprites. I don't save any custom textures, it happines with ...
by Moonman
Sat Jan 15, 2022 11:52 am
Forum: General Discussion
Topic: Added type saves wrong
Replies: 5
Views: 954

Re: Added type saves wrong

I find that in a new project it works fine, but in my game it always dropped NullReferenceExpectation after accessing to "loaded" object. In the clean roject ES3 generated a class public class ES3UserType_Society : ES3ObjectType , while in my game it was public class ES3UserType_Society : ...
by Moonman
Wed Jan 12, 2022 1:12 pm
Forum: General Discussion
Topic: Added type saves wrong
Replies: 5
Views: 954

Re: Added type saves wrong

Thanks for sending that over, though I wasn't able to replicate your issue. Please could you replicate this in a new project with a simple scene which isolates the issue to Easy Save and private message it to me with instructions. All the best, Joel Thank you for replying, I've built and sent a pro...
by Moonman
Fri Jan 07, 2022 7:06 pm
Forum: General Discussion
Topic: Added type saves wrong
Replies: 5
Views: 954

Re: Added type saves wrong

Hello, I've sent via PM
by Moonman
Fri Jan 07, 2022 11:01 am
Forum: General Discussion
Topic: Added type saves wrong
Replies: 5
Views: 954

Added type saves wrong

Hello. I've added manually through editor a type to be saved and loaded. It contains primitive types - but it saves null without errors in logs. public void SaveData() { ES3.Save("Society", society); Debug.Log("society==null " + society == null); // "False" // Test soci...