-
I've created two new states as the user guide shows, but it throws "InvalidAgentState" exception with the message "does not contain state 'default'" everytime I run it. I've gone through the user guide to search for information about agent state but failed to solve it . How should I deal with the situation when defining and initialising agents with more states? Many thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 15 replies
-
There are two possible causes I can think for this off the top of my head.
If you could grab the call-stack or location the exception is being thrown from, it would help narrow down the cause. The problem was confirmed as issue (1) via email. |
Beta Was this translation helpful? Give feedback.
There are two possible causes I can think for this off the top of my head.
default
and need to specify the desired state. The most obvious one that comes to mind isFLAMEGPU->agent(agentName, stateName)
within theHostAPI
(this is what caused the above bug).If you could grab the call-stack or location the exception is being thrown from, it would help narrow down the cause.
The problem was confirmed as issue (1) via email.