playMaker

Author Topic: GameObject field remembers object  (Read 339 times)

szomaza

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
GameObject field remembers object
« on: February 22, 2019, 12:17:34 PM »
I am not sure if this is a feature or a bug, but it has not been like this before.

Probably in any action, but right now I am experiencing this in SetScale action:
1. set the GameObject field From Use Owner to Specify Game Object,
2. set a variable,
3. switch back to Use Owner,
4. switch back to Specify Game Object. --->> bug or feature that at this time the previously set variable also appears.

It did not restore this previously used variable before. Is this a new feature?

This is a bit of a problem when you have been using a variable, but then decide to change any usage of that game object variable back to Use Owner, and then in the variables panel that now not anymore used variable is still displayed as being used, by every state where an action has STORED? the previous usage of the variable.
Delete Unused Variables also won't delete the not used variable.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4376
    • View Profile
    • jinxtergames
Re: GameObject field remembers object
« Reply #1 on: February 22, 2019, 09:31:31 PM »
Hi.
Which Unity and PlayMaker version are you using?

The exact PM version you can see by going to PlayMaker/Help/About PlayMaker...
FOR HIRE:Playmaker/C#

Playmaker Samples <-------------> Easy Exporter <---------------------> TPA Actions

szomaza

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: GameObject field remembers object
« Reply #2 on: February 24, 2019, 01:35:10 AM »
Unity 2018.2.7f1
Playmaker 1.9.0.p7

I tried it again with SetPosition action and can easily reproduce.