Out of memory exception freezes unity

Mondain

New member
Hi

I have some issues with behavior designer.

If I modify a behavior tree (prefab in project view) and I click on a instance of this prefab (in scene view), unity is freezing.

Strange stuff is also happening:
- Behavior tree branches disappear.
- Made changes revert suddenly.
- Behaviour tree of same prefab are different.

Sometimes I can't start again my project, because if I start unity, it freezes immediately (because the prefab is selected).
I closed unity more than 15 times with task manager in the last days and I deleted the library multiple times (to revert selection and get control over my project).

I found this error:
behavior_angry.jpg

Hope you can help me.

Best regards!
 

Justin

Administrator
Staff member
Did you just leave a review on the Asset Store? There was a recent review left and it looks similar to the error that you are getting.

Can you send me a repro scene so I can take a closer look at that error?
 

Mondain

New member
Yes you're right.

While I was creating a repro scene, I recognized: I only can edit behaviour trees of prefabs if I edit the prefab instance (click "Open Prefab" in project view). But in my case, I can edit the prefab in project view directly :eek:

Perhaps this is the reason for all my problems...

behavior_angry2.jpg
 

Justin

Administrator
Staff member
Do you have "Allow Edit of Prefab Instances" enabled within the Behavior Designer preferences? This preference exists because I've seen Unity corrupt prefab values as it is trying to merge the prefab instance data.
 

Mondain

New member
No, I changed nothing.

I will clean up my scene and solve all exceptions and warnings. Perhaps some magic will happen.

behavior_angry3.jpg
 

Mondain

New member
The problem is still not solved.
The out of memory issue is still happening, also if I modify the prefab in prefab editing mode.

You cannot get a clue from the error?
 

Justin

Administrator
Staff member
If you can send me a repro scene I can take a closer look at the cause, but I haven't seen that error before so I'll need some type of a repro scene.
 

skakun

New member
Hello Justin. I have a similar problem. Please provide me your GitHub username so I can share to you my project.
 

Justin

Administrator
Staff member
If you can send me a zipped up project that would be great - it'll be quicker than having to download a local copy of the entire repository :)
 
Top