Maybe it makes sense somehow and I just don't understand where it comes from:
I've installed the Saves with Screenshots Plugin.
When I delete all my saves via the saves manager in the Editor and then start a new game, I have an auto save in the first slot which says: 10/05/2024 11:56
But it's 10/16/2024 13:12 right now.
When I save manually, the correct date + time is being shown.
Any idea?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
If you autosave the game, does it update correctly?
I have just checked it. I added an autosave action to another scene and overwrite the auto save which was created on gamestart.
To answer your question: No, the date doesn't update correctly. It still keeps the date I mentioned above. The saved game information seems to look fine though (I just checked if I am in the correct scene).
There is also no error in the log about the automatic saving.
To be clear: this is as displayed in the Menu, as opposed to the Save File Manager?
Does the label appear correct itself after a restart of the game, before Autosaving again?
I hadn't checked the save file manager to be honest. I am talking about the Menu the player sees ingame - using that Save/Load Menu with Screenshots UI from your downloads.
Now that you mention the manager: In the manager the date is displayed correctly.
The menu still shows the wrong date after restart.
Hmmm. I have deleted my profile and created new saves. Now the manually created saves show weird timestamps as well. The day is correct for them, but they show 20:14 instead of 22:14, as if I am in another timezone. Even in the save manager it's the same.
Now in the WebGL Build, at least on localhost (started by build and run from Unity), I cannot save at all. Nothing happens when I press those save buttons. I think it worked before ...mh. And it does work in the editor.
Unfortunately I've have no idea how this happened, and I need to be hunting another game-breaking bug in my game now.
Update, since I can't edit my last entry:
The same happens in the windows build. The saves are created with a wrong time (but correct date). When I save on the same slot again, the time doesn't update anymore either.
I doubt that I have access to the script(s) which decide(s) what time to save or see how this all works anyway to check what's wrong.
The big thing before this happened was adding another language (just texts). But could that have any impact on creating savegames like that? Hmmm.
What I am now using is "Display Time and Date" in the editor, "never" save screenshots (because after all it didn't seem to work anymore with WebGL, although the issue might have been something else) ... and "Label only" for the display type in the load/save list - even though my menus were based on the downloadable Save/LoadScreenshotsUI - because I wasn't able to revert them to the original menus.
Timestamps are recorded using the system timezone - what is this currently set to?
Do any relevant messages appear in the Log files? In builds, these will display logs/warnings that would normally show in the Editor's Console.
I can't recreate this issue on my end. Are you able to get this behaviour from a fresh project, after using the New Game Wizard to create a new game with the sample scene?
My Timezone is GMT+2 (CEST)
Uh, Unity ... that link doesn't work for Unity 6 yet, as it seems. I'll check this later.
With a fresh project this doesn't seem to happen, on a first quick look in the Wizard created game + the demo 2D scene. Can I copy anything from that from one project to another? I really don't have an idea which files or settings might be corrupted in my case.
Try copying over your Settings Manager and assign that instead of the one created by the New Game Wizard. Does it still have this issue?
I'll try. A small update meanwhile:
I just created a WebGL Build from the fresh test project with the wizard sample scene and the original Wizard settings - only thing I changed there was enabling to show the time in addition to the date.
Saving in the WebGL build works, but there I also have that 2 hours difference from my actual Time Zone.
(Unity 6, current AC version)
The Timezone issue my be specific to your machine, but let's revisit it once the wider issue of the updating labels is resolved. Transfer your own Settings Manager and we'll see what the behaviour is.
The Log files directory will be unchanged in Unity 6 - the link should still be relevant.
I may have a fix for this, to be included in AC's v1.82 update - PM me if you'd like to be involved in testing.