Playmaker Forum
Bug Reporting => PlayMaker Bug Reporting => Topic started by: craigz on February 12, 2018, 10:46:10 AM
-
Can't figure out what exactly caused this.
While editing the category of a local variable on an object there now appears to be two of the same variable?
Is there any way I can fix this on the FSM and not have to make a new one? This ended up causing prefab problems on another object (where adding new variables would overwrite any other similar variable).
(https://i.imgur.com/PfmeNLG.png)
Looking for some direction!
-craigz
-
Hello,
This happened to me before, it always happens whenever I copy a state from one FSM to another FSM.
I hope this repro step helps.
Tri Nguyen
-
I don't think that should happen at all, you should send a bug report.
-
Hi.
That should not happen indeed.
What unity / playmaker versions are you using?
To send a bug report : in unity go to Playmaker/tools/submit bug report
-
When it was happening to me I was on 2017.1, I've switched to 2017.3 a while back and haven't noticed it in a while. If this is still occurring I'll file a bug.
-
Hi.
Good to hear.
What playmaker version are you using?
-
I'm currently on 1.8.9 and Unity 2017.3.0f3 and having this issue - indeed it might be something from copying variables/actions with those variables into another FSM. Haven't been able to reliably reproduce it yet though. But I've had this issue since maybe 1.8.5? Around the update that brought in categories.
Also worth noting that a byproduct of this is when you create a new variable of that type, it will sometimes shift ALL your variables values of that type up if that makes sense.
example:
Bool1 - false
Bool2 - true
Bool3 - false
Create new variable called Bool0 and this happens
Bool0 - false
Bool1 - true
Bool2 - false
Bool3 - false
Super annoying, makes me perpetually scared to create variables for fear of having to go through my prefabs and re-set them again xD
Deleting all the variables, then remaking them doesnt solve this either. Neither does reverting the prefab (I had thought at first it was an prefab-edit slip).
Would love to figure out a course of action for this please :)
best,
craigz