Search found 4832 matches

by Joel
Sun Feb 25, 2024 8:54 am
Forum: General Discussion
Topic: GetKeys Gives a null reference error
Replies: 1
Views: 178

Re: GetKeys Gives a null reference error

Hi there, I don't appear to be getting a null reference exception from ES3.GetKeys on a file with no keys. I've tested this with the following code in the latest version: using UnityEngine; public class GetKeysTest : MonoBehaviour { // Start is called before the first frame update void Start() { ES3...
by Joel
Sun Feb 25, 2024 7:30 am
Forum: General Discussion
Topic: Easy Save saves my prefabs, but loads very weirdly...
Replies: 4
Views: 108

Re: Easy Save saves my prefabs, but loads very weirdly...

Hi there, Assuming that the project is minimal and I don't need knowledge of the asset you're using to understand it: If you upload the project to something such as Google Drive or WeTransfer and send me the link using the form at Moodkie.com/contact along with step-by-step instructions I'm happy to...
by Joel
Sat Feb 24, 2024 8:30 am
Forum: General Discussion
Topic: Easy Save saves my prefabs, but loads very weirdly...
Replies: 4
Views: 108

Re: Easy Save saves my prefabs, but loads very weirdly...

Hi there, First I would check that the prefabInstances List you're saving contains the items you expect it to immediately before saving (i.e. using a Debug.Log call), and that they are all different instances (rather than adding the same instance to the list many times). Secondly, have you copied an...
by Joel
Sat Feb 24, 2024 8:22 am
Forum: General Discussion
Topic: Using Cloud.Sync function returns 'ES3Cloud is functioning correctly' server error, but file is not uploaded to table.
Replies: 4
Views: 125

Re: Using Cloud.Sync function returns 'ES3Cloud is functioning correctly' server error, but file is not uploaded to tabl

That's very strange as the only thing which triggers the "ES3Cloud is functioning correctly" error is a check to check whether the apiKey is set, immediately before the line which checks it's valid. It sounds like your API key could contain characters that your server doesn't like and it's...
by Joel
Fri Feb 23, 2024 9:49 am
Forum: Feature Requests
Topic: Callback before and after loading
Replies: 0
Views: 119

Callback before and after loading

Status Requested Complexity 3/10 Description Support for a callback which is called before and after loading, similar to Unity's ISerializationCallbackProvider. We could possibly use ISerializationCallbackProvider, but we would need to check the implications of this with regards to Unity's Edtior s...
by Joel
Fri Feb 23, 2024 9:07 am
Forum: General Discussion
Topic: Using Cloud.Sync function returns 'ES3Cloud is functioning correctly' server error, but file is not uploaded to table.
Replies: 4
Views: 125

Re: Using Cloud.Sync function returns 'ES3Cloud is functioning correctly' server error, but file is not uploaded to tabl

Hi there, We've had no other reports of this. The only way this can happen is if the server isn't receiving the POST data, which would indicate a server configuration issue. I recommend contacting your server provider who should be able to access server logs to understand what is happening. You can ...
by Joel
Fri Feb 23, 2024 8:51 am
Forum: General Discussion
Topic: Not Saving a child?
Replies: 5
Views: 143

Re: Not Saving a child?

Hi there,

It would be very hard for me to understand what is happening without being able to see a project which replicates it. Please could you show me the code you're using to save and load and screenshots of all of the GameObjects involved and their Components?

All the best,
Joel
by Joel
Thu Feb 22, 2024 9:25 am
Forum: General Discussion
Topic: Unable to save and load inventory accross scenes
Replies: 6
Views: 645

Re: Unable to save and load inventory accross scenes

In some situations that might be acceptable. However, the issue will arrive when going between sessions. For example if your player quits your game, loads it back up and then goes to the last saved level, it will overwrite the save data. Hope this helps :)
by Joel
Thu Feb 22, 2024 8:27 am
Forum: General Discussion
Topic: Unable to save and load inventory accross scenes
Replies: 6
Views: 645

Re: Unable to save and load inventory accross scenes

Hi there,

You appear to be saving in your LoadLevel method (which itself is unusual). And then when the level loads, you're loading your data. This seems redundant to me as the save data will always be the data you've saved before you've entered a level.

All the best,
Joel
by Joel
Wed Feb 21, 2024 5:09 pm
Forum: General Discussion
Topic: Unable to save and load inventory accross scenes
Replies: 6
Views: 645

Re: Unable to save and load inventory accross scenes

Hi there, Are you getting any warnings in console when loading? Could you provide more info on what isn't loading correctly, and how you're saving and loading? Also be aware that objects which inherit from UnityEngine.Object (such as ScriptableObjects) will be saved and loaded by value. See the Savi...