Character only works properly when enabled at start

Klin

Member
Hi,
when I start with a character allready enabled when I press play, everything works fine.
But when it is getting enabled during runtime, it does not rotate properly. The rotation is basically very slow and hacky.

Now the strange thing:
When I enable another character after that, the first character that was not rotating properly now works absolutely fine. But the fresh-enabled one has the rotating problem. I can go on with enabling more characters, always the last one enabled has that problem and corrects the one before that.

Do you have any idea on what could possibly cause this or how to approach this problem?

Disable -> enable all components but leave the gameobject itself enabled, that works absolutely fine.

Here as an example a minimalistic AI character.
The animator has only idle and movement, the behaviour tree only seek the player.
No item abilities and only AStar agent movement ability.
Every component basically with the default settings.
(as I said, works fine when starting enabled)

1654465073378.png
 
Last edited:
Can you reproduce the problem in the demo scene? I tried this in the BD integration demo scene with the AgentNolan, and everything works fine, even I disable the character before start.
 
Top