KeyNotFoundException was thrown when inspecting runtime tree via Behavior Designer Editor

Kichang Kim

New member
Hi. When I inspect runtime behavior tree, the editor throws KeyNotFoundException.

Tested with Behavior Designer 1.7.1 + Unity 2021.1.19f1.

Minimal reproducible project has attached (it does not contain Behavior Designer library)

Here is reproduction steps:
1. Play SampleScene.unity
2. Select any of Behavior Manager object.
3. Open Behavior Designer Editor
4. You can see many of KeyNotFoundException in console log.
 

Attachments

  • BehaviorDesignerKeyNotFoundExceptionIssue-2021.1-1.7.1.zip
    29.1 KB · Views: 1
It looks like you have a BehaviorManager attached to the SamplePrefab. This is causing multiple BehaviorManagers to be instantiated when there should only be one. If you remove the Behavior Manager everything will work.
 
Top