Disabling object causes slowdown

a2345sooted

New member
i can add that i'm experiencing this with a very simple tree from one of the tutorial videos. The one where we randomize patrol points. When i disable the object with the tree on it in the scene, no freezes. When i enable it, freezes, unfreezes, freezes, eventually i have to force quit. The tree is just repeater -> seq -> random game object from array -> move to -> wait

the waypoints are in the Shared Variables in the scene, just like the tutorial.

i'm on a mac:
here's my unity version: 6000.1.1f1

here's the package json for my behavior designer installation:

{
"name": "com.opsive.behaviordesigner",
"version": "2.1.2",
....
"dependencies": {
"com.opsive.shared": "2.0.0",
"com.opsive.graphdesigner": "2.0.0",
"com.unity.burst": "1.8.17",
"com.unity.entities": "1.3.8"
},
...
}


*** EDIT ***
An earlier commenter mentioned the Behavior Designer graph window being open as the culprit. Same for me. When I closed the window while in play mode, no more freezing.


*** EDIT 2 ***
Spoke too soon probably. I duplicated my agent a few times in the scene and the freezing came back, even with the BD window closed.
 
Last edited:
This sounds like something different. If you run the profiler what does the spike look like?
 
I'm new to using the profile, but I was able to capture this. I had 2 big spikes in a row where the game froze.
Screenshot 2025-10-02 at 4.31.50 PM.png


Screenshot 2025-10-02 at 4.33.26 PM.png

Screenshot 2025-10-02 at 4.44.55 PM.png



If you'd like to see more let me know.

My apologies, i'm not sure how to better show you. It took me multiple tries because several times it freezes completely, doesn't recover, and I have to force quit unity.
 
Last edited:
I will get this as soon as possible. My first attempt at a reproduced scene, i had all my paid assets out and just scene objects (primitive stuff) and the editor was freezing. I ran again and it doesn't freeze. waited for some time. Kept trying, wouldn't freeze (with the agent BD editor window open). In my game scene, no freezing (even with the agent) unless i choose the agent and have the BD editor window open.
For the profiler, I"m having trouble getting you the info you need. I'll keep trying.
 
Back
Top