FirstPersonKSP / FreeIva

Work in progress mod for Kerbal Space Program which allows getting out of your seat and moving around the vessel while on IVA.
GNU General Public License v2.0
22 stars 7 forks source link

NRE when airlock is not present #331

Closed JonnyOThan closed 11 months ago

JonnyOThan commented 11 months ago
[ERR 17:11:18.849] [FreeIva] could not find transform Airlock in part bluedog.Apollo.ProbeDockingPort

[ERR 17:11:18.849] [FreeIva] could not find airlock transform named Airlock on part bluedog.Apollo.ProbeDockingPort

[EXC 17:11:18.850] NullReferenceException: Object reference not set to an instance of an object
    FlightEVA.HatchIsObstructed (Part fromPart, UnityEngine.Transform fromAirlock) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    FreeIva.FreeIvaHatch.SpawnEVA (ProtoCrewMember pCrew, Part airlockPart, UnityEngine.Transform fromAirlock) (at <756942d96d774dbaae94733bd1a8e611>:0)
    FreeIva.FreeIvaHatch+<GoEVA_Coroutine>d__78.MoveNext () (at <756942d96d774dbaae94733bd1a8e611>:0)
    UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <12e76cd50cc64cf19e759e981cb725af>:0)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
    UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
    FreeIva.FreeIvaHatch:GoEVA()
    FreeIva.FreeIvaHatch:Open(Boolean, Boolean)
    FreeIva.FreeIvaHatch:SetOpened(Boolean, Boolean)
    FreeIva.<AnimationUpdate>d__70:MoveNext()
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)