Bug Reporting > PlayMaker Bug Reporting

Inspector variables messed up

(1/2) > >>

Marc Saubion:
Hi.

I made a prefab that uses some inspector variables used to assign GameObjects from the scene. I later modified my prefab adding a new GO variable and it messed up the variables assignment of my scene.

I noticed this happens if my new variable goes previously to the other one in the automatic alphabetical order. It looks like playmaker identifies the variables through their number in the list.

For example: my first variable is "Target" (currently n1). It's public and Used in scenes to assign gameobjects in the inspector. Then I add a new one named "missile" and, because M goes before T in alphabetical order, "missile" will be n1 and Target will become n2. In the inspector, I will end up with "Target" losing it's target and "missile" having them if public.

Note this as no influence in the playmaker editor but messes things up in the inspector.

So far I mananged to avoid the issue by adding up variables with a name that goes after like "zMissile" but it's easy to forget and screw up a game badly while working.

To avoid that I think an easy fix would be to deactivate the alphabetical order and leave the variables in the order they were created. This way, whatever is n1 will keep that ID and so on.

I hope that will be as easy as I describe. ^^'

Thanks.

jeanfabre:
Hi,

 Can you report this problem via the PlayMaker bug reported ( under PlayMaker/tools menu). Thanks :)


 Bye,

 Jean

Marc Saubion:
It's done. I copy pasted my previous message as I think it's complete enough but feel free to contact me if you need more infos.  ;)

Thanks

Marc Saubion:
Hi.

Anything new about this? I'd like to put prefab use on the next level but can't because of this. :-/ Right now, modifying a prefab that instances depends on inspector variables can screw up an entire project and destroy hours of work.

I have insist on this to be fixed. Some bugs you can work around but this one create a massive limitation and a serious liability.

If my first message wasn't clear, I'll be happy to give more infos about it.  ;)

Thanks.

jeanfabre:
Hi,

 indeed the coming beta version has done a lot of bug fixing on prefabs. Maybe you could join the beta group, then you can testify if the issue was indeed solved or not.

 pm me if you are interested.

 Bye,

 Jean

Navigation

[0] Message Index

[#] Next page

Go to full version