Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash to Desktop when launching RIM-66D from VLS tubes #699

Open
KerballOne opened this issue Jan 12, 2025 · 3 comments
Open

Crash to Desktop when launching RIM-66D from VLS tubes #699

KerballOne opened this issue Jan 12, 2025 · 3 comments

Comments

@KerballOne
Copy link

Describe the bug
Crash to desktop when launching RIM-66D from VLS tubes

To Reproduce
Load BDA - Test Platform - Missile.craft and add either VLS launcher single or quad.
Load it with RIM-66D missiles, adjust shape/size and offset as needed.
In flight scene, either AI or manually launch the 66D at a target.

Logs
KSP_66D_VLS_crash.log

Screenshots

[ERR 00:04:52.282] Screen position out of view frustum (screen pos 1455.000000, 216.000000) (Camera rect 0 0 2560 1440)

[ERR 00:04:52.282] Screen position out of view frustum (screen pos 1455.000000, 216.000000) (Camera rect 0 0 2560 1440)

[ERR 00:04:52.282] Screen position out of view frustum (screen pos 1455.000000, 216.000000) (Camera rect 0 0 2560 1440)

[LOG 00:04:52.285] recalculating orbit for probeCoreOcto2.v2: Kerbin ( Update mode TRACK_Phys )
rPos: [-545271.212183757, -15875.7651129144, 250182.863200809]   rVel: [-73.2139503901567, -0.18694973073018, -158.719441822968] |174.791815296165|
[LOG 00:04:52.286] recalculated orbit for probeCoreOcto2.v2: Sun ( UT: 172269.391447276 )
rPos: [NaN, NaN, NaN]   rVel: [NaN, NaN, NaN] |NaN|
Delta: [NaN, NaN, NaN] / [NaN, NaN, NaN]
[LOG 00:04:52.291] [Progress Node Reached]: Escape
[LOG 00:04:52.291] [Progress Node Complete]: Escape
[LOG 00:04:52.292] [Progress Node Reached]: Flyby
[LOG 00:04:52.292] [Progress Node Reached]: Sun
[LOG 00:04:52.292] [Progress Node Complete]: Flyby
[LOG 00:04:52.294] recalculating orbit for bahaRIM-66: Kerbin ( Update mode TRACK_Phys )
rPos: [-545271.222129822, -15868.127456665, 250182.568770409]   rVel: [-73.7718278715059, -0.399162948131561, -158.357859153664] |174.698750637473|
[LOG 00:04:52.294] recalculated orbit for bahaRIM-66: Sun ( UT: 172269.391447276 )
rPos: [NaN, NaN, NaN]   rVel: [NaN, NaN, NaN] |NaN|
Delta: [NaN, NaN, NaN] / [NaN, NaN, NaN]
[LOG 00:04:52.294] Look rotation viewing vector is zero
[LOG 00:04:52.294] Look rotation viewing vector is zero

Additional context
If 66D missiles are launched from surface attachment nodes (replace the 4 cruise missiles on this test platform), then it fires without crashing the game.
I tried both the single tube and the quad. I have tried turning off "Switch camera to missiles". I have reinstalled both BDA+ and BDA-E from CKAN. Same issue.

@KerballOne
Copy link
Author

KSP_66D_VLS_crash_1.log

With camera mods removed. Crashes when I manually switch vessel focus to the missile in flight.

@KerballOne
Copy link
Author

[LOG 11:58:41.416] recalculating orbit for bahaRIM-66: Kerbin ( Update mode TRACK_Phys )
rPos: [-502437.314821243, -15868.7130584717, 327824.344306946]   rVel: [-104.32218512325, -2.38033890724182, -140.718037536844] |175.186615956881|
[LOG 11:58:41.416] recalculated orbit for bahaRIM-66: Sun ( UT: 173606.689416559 )
rPos: [NaN, NaN, NaN]   rVel: [NaN, NaN, NaN] |NaN|
Delta: [NaN, NaN, NaN] / [NaN, NaN, NaN]
[LOG 11:58:41.416] [Progress Node Reached]: Escape
[LOG 11:58:41.416] [Progress Node Complete]: Escape
[LOG 11:58:41.416] [Progress Node Reached]: Flyby
[LOG 11:58:41.416] [Progress Node Reached]: Sun
[LOG 11:58:41.416] [Progress Node Complete]: Flyby
[LOG 11:58:41.416] Look rotation viewing vector is zero
[LOG 11:58:41.416] Look rotation viewing vector is zero
[ERR 11:58:41.417] Screen position out of view frustum (screen pos 1429.000000, 292.000000) (Camera rect 0 0 2560 1440)

[LOG 11:58:41.417] Kerbin: Resetting
[EXC 11:58:41.430] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
	System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <9577ac7a62ef43179789031239ba8798>:0)
	System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <9577ac7a62ef43179789031239ba8798>:0)
	MusicLogic+<PlayFlight>d__58.MoveNext () (at <4b449f2841f84227adfaad3149c8fdba>: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.Debug:CallOverridenDebugHandler(Exception, Object)
[ERR 11:58:41.430] Screen position out of view frustum (screen pos 1429.000000, 292.000000) (Camera rect 0 0 2560 1440)

[LOG 11:58:41.431] Look rotation viewing vector is zero
[LOG 11:58:41.431] Look rotation viewing vector is zero

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant