Playmaker Forum
Bug Reporting => PlayMaker Bug Reporting => Topic started by: blackant on August 19, 2016, 07:43:50 AM
-
Hello,
i got this error during editing, i don't know if it' linked to array and global variable but i was working on it during this bug, so it may be related.
so to explain when it happened:
i was doing my states using 19 global variables Objects (UI textures)
Finally after more works i decided to replace this 19 variables to 1 array contining them.
and so after editing this array i had to replace all my old actions using old Global Variables by this Get array, store value and replace by the simple variable containing the Object.
and i deleted the old Globals after the works was done.
and i seen that my array was not the right one, so i modified this in the action, and the bug appears at this point.
-
just made a short video to better explain how it happens,
and i also fund why this is happening, it's because the variable is not the right Object parameter...
-
Hi,
ok, yes, the problem is the following, You can not mixmatch textures and Sprites.
and inside Array you can not store Sprites, so you are in a dead end right now... with incompatible types.
I suggest you use ArrayMaker as I support arrays of Sprites.
Bye,
Jean