If you create the “current” variable through the Iterator inspector and the option “Create New” before the list variable is assigned, then a variable of type “System.Object” is created because the iterator list type is not yet set. That is because the iterator is possible to iterate any type of list, rather than only GameObject lists.
Because of the nature of the Iterator to accept different list types, I would recommend that you please use a non dynamic pre-created blackboard variable, at least for the List parameter and to avoid potential pitfalls.
Please let me know if that would work for you.
Thank you.
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.