Reply To: [Question] Bind to components that are added at runtime.

NodeCanvas Forums Support [Question] Bind to components that are added at runtime. Reply To: [Question] Bind to components that are added at runtime.

#15324
monotonic
Participant

Hi,

I think I’ve figured this out, the graph was loading and binding before my components were added. Setting the ‘First Activation’ to a lifecycle event after the one which assigns the dynamic components fixed the problem.

It’s been a while since I posted the original message, but I’m fairly certain I was receiving a warning during edit time. This is not the case anymore, so take that with a pinch of salt.

The attached picture shows two errors, one from the Behaviour Tree and one from the FlowScript, both are attached to the object which dynamically assigns its own components at runtime.

Please consider this issue resolved.

Attachments:
  1. Screenshot-2020-09-29-120742.png