Search found 10 matches

by frezno
Sun Nov 18, 2018 7:59 am
Forum: General Discussion
Topic: Saving & Loading Texture2D does nothing.
Replies: 3
Views: 2225

Re: Saving & Loading Texture2D does nothing.

Hi there, I don't appear to be having any issues with your code at my end. Please could you PM me a basic project to replicate it? All the best, Joel Hi Joel, My project is rather large and is also a commercial product, so I can't provide it to you, but I'll try and put together a sample project an...
by frezno
Fri Nov 09, 2018 2:34 am
Forum: General Discussion
Topic: Saving & Loading Texture2D does nothing.
Replies: 3
Views: 2225

Saving & Loading Texture2D does nothing.

Hello again Moodkie, back again with another problem. Previously in Easy Save 2 I was able to save a Texture2D directly to a file using ES2.Save<Texture2D> . I just got around to converting this old code to Easy Save 3 and everything works except saving and loading the Texture2D. I use ES3File now t...
by frezno
Mon May 21, 2018 11:23 pm
Forum: General Discussion
Topic: Sending and Receiving an ES3File In Multiplayer
Replies: 1
Views: 2142

Sending and Receiving an ES3File In Multiplayer

Hello! I just wanted to see if I'm on the right track of what I'm trying to do. Essentially I have an ES3File that will contain a bunch of various data that belongs to the player. I would like to send this file to all players in the room so that the users can load this players data without actually ...
by frezno
Sat Dec 16, 2017 10:02 pm
Forum: General Discussion
Topic: Data as String
Replies: 13
Views: 18681

Re: Data as String

Here is my PlayerDataLoader class that loads data. using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerDataLoader : MonoBehaviour { [TextArea] public string toJson, fromJson; public samplePlayerData PlayerData; public static ES3File dataFile; public void...
by frezno
Sat Dec 16, 2017 9:28 am
Forum: General Discussion
Topic: Data as String
Replies: 13
Views: 18681

Re: Data as String

It seems LoadRawString doesn't return anything. I'm using this code to make sure the keys are in the file. Save function void Save(){ dataFile.Save<samplePlayerData>("PlayerData", PlayerData); dataFile.Save<string>("myName", this.name); dataFile.Save<Transform>("myTransform&...
by frezno
Fri Dec 15, 2017 6:36 pm
Forum: General Discussion
Topic: Data as String
Replies: 13
Views: 18681

Re: Data as String

Oh awesome I didn't even know about ES3File.. I should do some more looking .

While ES3File will work, I wonder how I'll go about loading the Json string back from the server to ES3.
by frezno
Fri Dec 15, 2017 4:26 pm
Forum: General Discussion
Topic: Data as String
Replies: 13
Views: 18681

Re: Data as String

Is there a way to do this without saving out to a file then reading that file? Like maybe saving in memory? I am transitioning my save structure to a server that is not maintained by myself so I can't use ES3Cloud, and saving to a file then reading from the file means there is a possibility of cheat...
by frezno
Fri Nov 24, 2017 12:35 am
Forum: General Discussion
Topic: The requested operation caused a stack overflow.
Replies: 5
Views: 4231

Re: The requested operation caused a stack overflow.

So I haven't been able to reproduce the error anymore... A restart may have fixed it? Cache problem? I'm not sure.. all I know is the stack overflow doesn't happen anymore, but instead something else took it's place. Something about an indexer expecting ',' but I will assume that it is just an error...
by frezno
Tue Nov 14, 2017 5:18 pm
Forum: General Discussion
Topic: The requested operation caused a stack overflow.
Replies: 5
Views: 4231

Re: The requested operation caused a stack overflow.

Hi Joel, Thanks for the reply. I'll try and run some more tests to see if I can get a baseline for you and so you know where to look. Sorry for not providing much info for you but I'll try and explain the best I can what I am doing and where this occurs at. I have a main menu scene that reads and wr...
by frezno
Mon Nov 13, 2017 9:03 pm
Forum: General Discussion
Topic: The requested operation caused a stack overflow.
Replies: 5
Views: 4231

The requested operation caused a stack overflow.

I've been using Easy Save 3 now for about a month and it's been working flawless without any problems since I converted my project from ES2. I don't use Easy Save 3 in every scene but it's got a fair share of reading and writing data for saving game files. Today I have encountered this error that se...