Unity freezes when adding Abort Type

Sinuskiste

New member
I have this behavior tree. The AI should run towards and attack the player when it sees them, and run away if the player gets too far. The problem is that as soon as I add an abort type (any type) to the displayed sequence, Unity completely freezes. Even the debugger stops responding and I can't click anything in Unity; I can only close Unity via the Task Manager. The problem is reproducible, but I don't understand why the abort type causes Unity to freeze.

Unity version: 6.3 LTS
Behaviour Designer Pro Version: 2.1.9
 

Attachments

  • Screenshot 2025-12-29 142312.png
    Screenshot 2025-12-29 142312.png
    119 KB · Views: 4
The abort type is used at runtime and during design time only a enum changes. Does the freeze occur in a fresh project? Can you tell me how to reproduce it?

Also, you're running a slightly older version so try updating to see if that happens to fix it.
 
The abort type is used at runtime and during design time only a enum changes. Does the freeze occur in a fresh project? Can you tell me how to reproduce it?

Also, you're running a slightly older version so try updating to see if that happens to fix it.
When i remove the abort type the behaviour tree works and Unity wont freeze. Only problem is that the ai wont move in attack range then. I cant update behaviour designer pro the package manager wont find a newer version.

The crazy thing is that I set breakpoints in every Action and Condition in OnUpdate, but none of them get triggered at the moment Unity freezes.
 

Attachments

  • Screenshot 2025-12-29 143239_2.png
    Screenshot 2025-12-29 143239_2.png
    49.1 KB · Views: 3
December 21st is the latest version. The welcome screen should show 2.1.10.

Regardless can you describe this:

welcome screen shows: 2.1.10

That's hard to say with the new project, since I have written some Behaviour Actions and Conditions, and they have dependencies on other classes. As I said, I can only reproduce it by removing the Abort Type; then Unity doesn't crash. But if I add any Abort Type to this sequence, Unity freezes as soon as the tree reaches it. I am not sure how to debug this because the debugger also wont work. Profiler also freezes.
 
I will need to be able to reproduce it in order to determine the issue. Having a starting point with the fresh project is the best because it will isolate the issue. With that said, you can send a repro package to support@opsive.com and I can take a look.
 
Back
Top