|
Post by magique on May 24, 2019 16:03:00 GMT
There is a bug in vControlAI.cs. Even if you uncheck Remove Components After Die, the NavMeshAgent still gets destroyed. Here is the original code:
public override void RemoveComponents()
{
base.RemoveComponents();
Destroy(navMeshAgent);
}
It should be the following instead:
public override void RemoveComponents()
{
if (!removeComponentsAfterDie) return;
base.RemoveComponents();
Destroy(navMeshAgent);
}
|
|
|
Post by Invector on May 27, 2019 21:43:21 GMT
Thanks! This will be fixed in the next update
|
|