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

DivisionByZero when Panther Afterburning Jet Engine is failing #5

Closed
stasikos opened this issue Nov 7, 2016 · 0 comments
Closed

DivisionByZero when Panther Afterburning Jet Engine is failing #5

stasikos opened this issue Nov 7, 2016 · 0 comments

Comments

@stasikos
Copy link

stasikos commented Nov 7, 2016

I was testing it on Ravenspear MkI (stock) and I've got DivisionByZero while Panther jet engine was failing. So I tried to test it in isolated environment in clean install with craft assembly containing only one Panther, Fuel tanks, Intake and Mk1Inline Cockpit.

Observed in stock KSP 1.2.1 on Linux with KerbalLaunchFailure version 0.4.0.
When this part fails it just warns about upcoming failure event forever, while KSP.log has this:

[EXC 15:41:51.734] InvalidOperationException: Operation is not valid due to the current state of the object
System.Linq.Enumerable.Single[ModuleEngines] (IEnumerable`1 source)
KerbalLaunchFailure.Failure.PrepareStartingPart ()
KerbalLaunchFailure.Failure.Run ()
KerbalLaunchFailure.KerbalLaunchFailureController.RunFailure ()
KerbalLaunchFailure.KerbalLaunchFailureController.FixedUpdate ()

and then, repeating:
[EXC 15:41:56.801] DivideByZeroException: Division by zero
KerbalLaunchFailure.Failure.CauseStartingPartFailure ()
KerbalLaunchFailure.Failure.Run ()
KerbalLaunchFailure.KerbalLaunchFailureController.RunFailure ()
KerbalLaunchFailure.KerbalLaunchFailureController.FixedUpdate ()

...
(looks like happens in a loop, so more messages like this)

Blaming it has mode change feature. I also tested another engine (Wheesly) with ModuleEnginesFX and it worked fine.

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

2 participants