Forums › 💬 NodeCanvas › ⚙️ Support › 'Missing agent reference' when using transform dynamic value.
Background:
1. Created Sub BT that iterate List<Transform> (Or any other Component type)
2. Using list element as agent will invoke ‘Missing Agent Reference’ error.
[attachment file=”Sub FSM.png”]
– My custom BT that iterate List<Transform>.
[attachment file=”My function.png”]
– As you can see.. my custom action task is simple. I’ve checked there is no problem here.
[attachment file=”Set has error.png”]
[attachment file=”InitializeError.png”]
These are the error’ed lines. I don’t know why but value is null. (agentParameter is not null though.)
Any helps would be grateful. Thanks.
Hello,
Hmm. I just tried a similar test and everything works fine on my end.
[attachment file=”IterateTest.gif”]
I would suggest using a non-dynamic variable for the List of the Iterator node in this case.
Let me know if this solves the issue.
Thank you.