Forum rules - please read before posting.

Objectives not restarting

edited June 2020 in Technical Q&A

Hi Chris!
I was playing with the objectives today and i realized that if an objective is set as "completed" and you do an "Engine EndGame" - "Restart Game" action the objectives remains as completed.

I tested it in the editor and android. if i stop and play the editor the objective works fine. (starts inactive)

Maybe i'm doing something wrong?

AC Version: v 1.71.3

Comments

  • edited June 2020

    It's likely a bug - apologies. I will attempt a recreation and look into a fix as necessary.

    In the meantime, you should be able to get around this by opening up the StateHandler.cs script, and pasting the following into line 112:

    KickStarter.runtimeObjectives.ClearAll ();
    

    Thanks for the report.

  • Thanks Chris! i will try that workaround.

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.