meniku / NPBehave

Event Driven Behavior Trees for Unity 3D
MIT License
1.13k stars 194 forks source link

Assertion in Wait action #24

Closed slimshader closed 1 year ago

slimshader commented 4 years ago

I am getting an assertion exception from within the Wait node in the Stop() method:

Assert.AreEqual(this.currentState, State.ACTIVE, "can only stop active nodes, tried to stop");

The node is nested under Condition with Stops.IMMEDIATE_RESTART

meniku commented 4 years ago

hey thanks for the report, can you somehow provide try to provide an example script where I can reproduce it on my side?