Im having reports of players not having their settings loaded in correctly and I'm just using 1 PM action Load Multiple with 28 values for the settings.
However, I click on "refresh references on all scenes" before doing a build whenever I need to update the game. Should I be doing that? is that affecting getting the correct values from the settings file?
Should I refresh references before each build?
-
- Posts: 4
- Joined: Sat Aug 03, 2024 4:05 pm
Re: Should I refresh references before each build?
Hi there,
Doing that should not affect things being loaded. You should check error logs to see what is causing the issue as Easy Save will throw an exception if it has any issues loading.
All the best,
Joel
Doing that should not affect things being loaded. You should check error logs to see what is causing the issue as Easy Save will throw an exception if it has any issues loading.
All the best,
Joel
-
- Posts: 4
- Joined: Sat Aug 03, 2024 4:05 pm
Re: Should I refresh references before each build?
Uh, there are no errors, just 2 references missing for a 2D texture/sprite (crosshair probably). I have a lot of reports of players not being able to move their mouse right at the start of the game because the mouse sensitivity/anything else doesn't get loaded correctly. this has been happening since I implemented saving settings and I've never found a fix for it.
I don't even know for certain what causes this, sometimes it happens, sometimes it doesn't.
The most ES3 throws is a missing reference for a 2D texture that I save, but I load that separately before hand twice, which if I remember correctly was in the documentation that is something I should do, but doesn't fix it.
Re: Should I refresh references before each build?
There isn't any randomness to Easy Save, so intermittent issues almost always indicate an issue with logic. For example, saving an object in one script's Start() method, but also modifying or destroying that object in another Start() method, meaning which Start() method is called first won't always be the same.
Aside from that, I would need to see a new project with a basic scene which reliably replicates this and isolates the issue to Easy Save to be able to understand any more about what is happening.
All the best,
Joel
Aside from that, I would need to see a new project with a basic scene which reliably replicates this and isolates the issue to Easy Save to be able to understand any more about what is happening.
All the best,
Joel