Forum rules - please read before posting.

Timer restarting after loading a save?

I have a timer setup like so:

Tic duration: 1
Value increase per tick: 1
Min value: 0
Max value: 35
Run on a loop?: False
Only run during gameplay: True

which is not linked to a global variable.

When I start the timer, leave it to run for 5-6 seconds, then save the game and then attempt to load it, I can see that the Timer is initialized with the stored value (e.g. 6) and then when the Start() method runs it resets back to 0. Is that normal?

I am running Adventure Creator 1.86.1 in Unity 6.3

Comments

  • It's a bug, thanks for the report.

    To fix, open up AC's Timers script and replace line 373:

    timer.Start ();
    

    with:

    timer.Resume (false);
    
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.