Forum rules - please read before posting.

Local variables not saving/Immediately deleting

Hi there Chris,

I'm having an issue where my local variables are deleting their names (going back to default "Untitled"/empty) immediately after pressing play/running the game. I tested this with global variables and this isn't happening. I'm not using any different scripts either. Thanks!

Comments

  • Do the variables remove themselves from the list, or just reset their values? I can't reproduce such behaviour.

    What are your AC and Unity versions, and does this happen repeatedly? Try saving the scene before entering Play Mode.

  • Hi Chris, The variables don't get removed exactly (they still exist) but they are reset to "Untitled"- they're all boolean set to false. I am using Unity version 6000.3.9f1, and Adventure Creator v.1.86.1. I did save before entering play mode but it still reverted back regardless

  • Does this occur in every scene, or just specific one(s)? Try it in a new scene with no other game logic added.

    If this is occuring reliably and repeatedly, please PM me the project if possible (zip it up excluding the Library folder) along with details of which scene to test and I'll take a look.

  • Yes, this is only happening in the scene I created! No other scenes. It is still happening in that scene but I'm not sure what it is that could have caused it

  • Could you PM me this scene?

  • Sent, thanks so much!

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.