Im getting a load game error please help

0 favourites
  • 13 posts
From the Asset Store
7 Errors
$15 USD
7 Errors is a game where you have to find the 7 mistakes before time runs out. Can you find all 7? Have fun looking.
  • hi all,

    I save and load my game quite frequently. It seems like after a while (about 10 times save/loads) the load will fail.

    Please help.

    And the warnings

  • I feel i'm getting closer to seeing the problem. I have found the save is always fine. It is the load that is having trouble.

  • hi all,

    I save and load my game quite frequently. It seems like after a while (about 10 times save/loads) the load will fail.

    Please help.

    And the warnings

    Hi. You posted the console messages, but it doesn't give us anything. Your save or load is not working properly. Take a ready example and copy it, there are many of them.

  • Hi, im not sure what a ready example is?

  • Can you share the project, and give steps to reproduce the problem?

    Without that it's very hard to figure these problems out.

  • Can you share the project, and give steps to reproduce the problem?

    Without that it's very hard to figure these problems out.

    Hi Diego, i cant unfortunatley its a game i released on steam. The game goes into battle screen like in pokemon and then loads back to the main world screen. I may have to not use the inbuilt save load feature.

  • The crash suggests that there is a problem loading the state of a tween or a timeline. So maybe it has to do with a save being done while a tween or a timeline is playing and then there is a problem restoring that state.

    That might explain why it doesn't happen consistently... I am just guessing though, so the conditions that cause the crash might be different.

  • The crash suggests that there is a problem loading the state of a tween or a timeline. So maybe it has to do with a save being done while a tween or a timeline is playing and then there is a problem restoring that state.

    That might explain why it doesn't happen consistently... I am just guessing though, so the conditions that cause the crash might be different.

    Thank you Diego. I know its hard to help with limited information, but even what you said has given me some things to look into. Such a strange one, because in the battle it would fail load back to the main game and bring me back into start the same battle. After a few tries(enemy health 0) it actually successfuly loads the orginal save state! It's a game breaker though because it means the player battles the same enemy 2-4 times.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I have installed the Beta version of C3 and actually it has helped significantly. 1 in 60 times the load will fail, but still im trying to figure it out

  • I had to take out the load save feature and just make all the objects persist(which probably should have done in the beginning) I wish i knew what the bug in my load/save was though

  • If you don't want to share your whole project, try removing as many things as you can from it, while still reproducing the problem.

    If you could share a trimmed down project, it would help a lot to solving this.

  • Just a quick thing to check:

    Most probably you are already doing it, but a lot of developers that have problems with saving and loading (System Save or Local Storage) are because they dont wait until the save is complete as it takes more than a tick to do the job. Have a look and make sure you wait until the save is complete. You can use the "Wait for the previous Actions" or the triggers that C3 offers.

    If you dont wait properly, that could explain why sometimes it saves properly and some not.

    -As when it saves correctly maybe it is because the save happens quickly

    -But when it doesn't save correctly it is because needs more time to save and if you dont wait it will mess up the save.

    Example:

    -You use the Actions SystemSave

    -The next action is to move to a different layout

    Note:

    The same thing is true for loading saves, you need to make sure it waits until the save is loaded

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)