Skip to content

[BUG]: Gal's rarely fail to follow the player #133

Description

@Potato-max101

Installation Method

r2modman / r2mm

What happened?

Activating a gal they will just stand there spamming an error in console

What did you do?

Landing on a moon, then activating a gal.

Version

v73

What OS are you running?

Windows 11

List of mods used

Just the mods needed to run code rebirth and code rebirth itself
Hamunii-DetourContext_Dispose_Fix-1.0.7
mattymatty-MonkeyInjectionLibrary-1.0.2
Zaggy1024-PathfindingLib-2.4.1
Evaisa-FixPluginTypesSerialization-1.1.4
Hamunii-AutoHookGenPatcher-1.0.9
XuXiaolan-ReXuvination-1.1.0
TeamXiaolan-DawnLib-0.8.16
Rune580-LethalCompany_InputUtils-0.7.12
BepInEx-BepInExPack-5.4.2305
XuXiaolan-CodeRebirth-1.5.3

Relevant log output

[Error  : Unity Log] NullReferenceException
Stack trace:
UnityEngine.Transform.get_position () (at <c39a522eee05469b8171a6cfeb646c59>:0)
PathfindingLib.API.SmartPathfinding.SmartPathDestination.EntranceTeleportDestination (EntranceTeleport entrance) (at E:/Development/Lethal Company/Projects/PathfindingLib/PathfindingLib/API/SmartPathfinding/SmartPathDestination.cs:85)
PathfindingLib.API.SmartPathfinding.SmartPathTask.GetResult (System.Int32 index) (at E:/Development/Lethal Company/Projects/PathfindingLib/PathfindingLib/API/SmartPathfinding/SmartPathTask.cs:158)
Dawn.Utils.SmartAgentNavigator.GoToDestination (UnityEngine.Vector3 targetPosition) (at ./src/Utils/Pathfinding/SmartAgentNavigator.cs:187)
Dawn.Utils.SmartAgentNavigator.TryDoPathingToDestination (UnityEngine.Vector3 destination, Dawn.Utils.SmartAgentNavigator+GoToDestinationResult& result) (at ./src/Utils/Pathfinding/SmartAgentNavigator.cs:163)
CodeRebirth.src.Content.Unlockables.ShockwaveGalAI.DoFollowingPlayer () (at ./src/Content/Unlockables/ShockwaveGalAI.cs:337)
CodeRebirth.src.Content.Unlockables.ShockwaveGalAI.HostSideUpdate () (at ./src/Content/Unlockables/ShockwaveGalAI.cs:296)
CodeRebirth.src.Content.Unlockables.ShockwaveGalAI.Update () (at ./src/Content/Unlockables/ShockwaveGalAI.cs:266)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions