Get all the children of an actor! [SOLVED]

I am trying to get all the actor’s children, but I get a mistake that about null key valuentement: > system.argumentNullexception: value cannot be null. (‘Key’ parameter)

in System.collections.generic.dictionary’2.findfalue (tkey key)
In System.collections.gegeneric.dictionary’2.trygetValue (TKey Key, Tvalues Value)

As I am trying. If you can help, thank you.

Because there is no key. The “Get Children” that returned a “” children were not working.

If anyone has the same problem, that’s how I got