playMaker

Author Topic: Hashtable value not saving?  (Read 1784 times)

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Hashtable value not saving?
« on: September 18, 2016, 09:27:36 AM »
I have a gameobject with a few hashtables, I'm having a problem where I'll edit it but it won't save. It will stay with the new value at first and I can run the game and will see it changed, but if I open the level again it will revert to the old value.

Tried saving level/project/restarting unity, and anything that reloads the level will revert to old value.

Any idea what could cause this?

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Re: Hashtable value not saving?
« Reply #1 on: September 18, 2016, 10:15:08 AM »
I've noticed that sometimes Unity/Playmaker doesn't register an edit when I've changed stuff in a hash table so that it doesn't save changes when I save-

After making changes to a hash table I'll disable the game object its on then re-enable so Unity registers a change- then I save- haven't lost any saved data in hash tables since I started doing that-
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

terri

  • Sr. Member
  • ****
  • Posts: 386
    • terrivellmann.tumblr.com
Re: Hashtable value not saving?
« Reply #2 on: September 18, 2016, 10:46:48 AM »
that worked! thanks a ton