playMaker

Author Topic: Difficulties with a variable not stored correctly in prefab  (Read 786 times)

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Difficulties with a variable not stored correctly in prefab
« on: February 12, 2021, 10:11:51 AM »
Hello,

i'm trying to make a simple thing in my state, but it seems that unity doesn't want to help me on this task...

i created two actions "GameObject Compare"
the first one to test if player is the gameobject selected by the user,
the second to test if it's variable is not empty.

the problem is that each time i save my change, playmaker is still displaying wrong variables in the actions, so the logic is wrong.

see the screenshots

i am stuck with this because, if i delete the prefab from the scene, and put the prefab from my folder, i get the wrong setup.
If i open the prefab and make changes, and then save it, it is not modified...
« Last Edit: February 12, 2021, 10:15:43 AM by blackant »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Difficulties with a variable not stored correctly in prefab
« Reply #1 on: February 12, 2021, 02:45:51 PM »
hi.
Try restarting unity after changings

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: Difficulties with a variable not stored correctly in prefab
« Reply #2 on: February 13, 2021, 03:55:39 AM »
i already tried this tips, but it doesn't seems to work this time...

i completely restarted my computer and it's ok

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Difficulties with a variable not stored correctly in prefab
« Reply #3 on: February 13, 2021, 12:52:51 PM »
What versions of Unity and Playmaker are you using?

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: Difficulties with a variable not stored correctly in prefab
« Reply #4 on: February 14, 2021, 04:25:46 AM »
i am on unity 2020.2.1f1 and the playmaker is the last from the store