AngryAnt/Behave-release — Issue #36: "Tree tried to update without having registered" error
Author: ricardojmendez
Created: 2011-12-11 09:00:26+00:00
State: open

The "Tree tried to update without having registered" error persists on 1.4, and appears randomly but more often when an agent is about to be destroyed:

> Tree of type TreeNameHere.Default tried to update without having registered.
> UnityEngine.Debug:LogError(Object)
> Behave.Runtime.Resources:LogError(String)
> Behave.Runtime.Debugging:Update(Tree)
> BTCreaturesC0T0:SetActiveComponent(Int32)
> BTCreaturesC0T0:Tick9(IAgent, Tree, Object)
> BTCreaturesC0T0:Tick(IAgent, Tree, Object)
> Behave.Runtime.Tree:Tick()
> [...]

It might be that you're first de-registering the tree then attempting to log a debug event.