Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Phuzz on January 10, 2019, 08:14:45 AM
-
Hello,
After updating to latest Unity and Playmaker, Variables aren't grouped anymore, I cannot find an option in the preferences, am I missing something or is this a bug? Picture Attached
-
Variables can be organized? ???
-
Well, it's basically grouped, for example, all player stats can go under the same category when you name it like this:
Player / Health
Player / Damage
Player / Armor
and so on,
So you will get just one "Player" Variable, but when you hover over it, it will expand to the Sub 3, Health, Armor and Damage
-
Hi,
ok, I can reproduce here as well, I have raised a ticket internally, hopefully this is not a bug in Unity and we can adjust inside PlayMaker.
Bye,
Jean
-
Great thank you,
-
It looks like Unity changed the way they parse the "/" divider.
It still works if there are no spaces around the "/" character.
But if you use a space in front: " /" it now breaks, showing multiple entries.
There seem to be a bunch of subtle changes like this in 2018.3, probably because Unity is moving to UIElements under the hood, so editor behaviour can change :(
I'll submit a bug report to Unity.
In the meantime, we should be able to patch this in our code by replacing " /" with "/" when building menus, but it will need to be tested thoroughly! If you have a project that uses this a lot, please PM for beta access so you can test a build that fixes this issue.
Thanks!
Alex
-
Yes it's understandable, My project has a lot of variables and uses this heavily to keep it organized, I think I am already in Beta and I will test it out on a separate project, I will report back, thank you for the help.
-
Yes it's understandable, My project has a lot of variables and uses this heavily to keep it organized, I think I am already in Beta and I will test it out on a separate project, I will report back, thank you for the help.
Thanks! The fix isn't in the beta yet, but should be in the next build, some time next week...
If you can test on a copy of the project that uses it heavily that would be ideal, to make sure it doesn't have any unwanted side effects.