Reply To: NodeCanvas working with Apex Path?

Forums 💬 NodeCanvas 🗨️ General Discussion NodeCanvas working with Apex Path? Reply To: NodeCanvas working with Apex Path?

#14968
bbdata
Participant

    Hi I’m experimenting with NC-Actions and Apex now and facing some problems.
    Using this simple script:

    I get a NullReferenceException for _unit.MoveTo, means that the referencing in OnExecute doesn’t work.
    Additionally there comes a “Graph Error ‘Infinite Loop Detected’ on node Sequencer” which is also produced by this script, the rest of the BT works fine.
    I believe that one problem is, nodeCanvas works in his own classes and Apex presumes classes derived from MonoBehaviour?
    At any rate the Script without nodeCanvas-elements as simple Monobehaviour works, it comes from a Apex Path tutorial.
    So how can I reference these Apex classes correctly?