AudioKnight / Starlancer

A WIP expansion mod for Lethal Company. Currently featuring 4 new moons, an interior, and 2 code-centric mods.
Other
1 stars 0 forks source link

[Bug] Enemy AI errors on March #38

Open ajsglist opened 4 months ago

ajsglist commented 4 months ago

Hey there,

I've been updating my mod pack this morning and encountered a bunch of errors getting thrown on March. A ton of different vanilla enemies were spawned. There was at least a baboon hawk, a Fox and a Giant (potentially other enemies).

error 1:

[09:09:20.4320871] [Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
EnemyEscape.StarlancerEscapeComponent.SetDestinationToPositionPrefix (EnemyAI __instance, UnityEngine.Vector3& position, System.Boolean& checkForPath) (at <8aad92ecb03b4635a4d617df98be2985>:IL_00AB)
(wrapper dynamic-method) EnemyAI.DMD<EnemyAI::SetDestinationToPosition>(EnemyAI,UnityEngine.Vector3,bool)
EnemyEscape.StarlancerEscapeComponent.Update () (at <8aad92ecb03b4635a4d617df98be2985>:IL_0148)

error 2:

[09:09:20.6311312] [Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
EnemyEscape.StarlancerEscapeComponent.Update () (at <8aad92ecb03b4635a4d617df98be2985>:IL_0372)

I've also included the log for the day on March, in case that helps.

Thanks for making Lethal mods, your moons + interior + misc mods are great. :)

starlancer_ai_thrown_errors.txt

edit: just to clarify, this is in regards to Starlancer AI fix, since this seems to be a general repo for all your mods