post-kerbin-mining-corporation / NearFutureElectrical

Adds nuclear reactors and power utility parts to Kerbal Space Program
40 stars 36 forks source link

Module DischargeCapacitor threw during OnFixedUpdate: System.NullReferenceException #124

Closed hendrack closed 4 years ago

hendrack commented 4 years ago

A combination of parts throws this exception, makes the game in windows laggy, crashes linux ksp.

`[ERR 08:57:36.982] [Physics.PhysX] QuickHullConvexHullLib::findSimplex: Simplex input points appers to be colinear.

[ERR 08:57:37.025] Module DischargeCapacitor threw during OnFixedUpdate: System.NullReferenceException: Object reference not set to an instance of an object at NearFutureElectrical.DischargeCapacitor.get_CurrentCharge () [0x00025] in <989fb22680e84dbba0703c76fe6eb41a>:0 at NearFutureElectrical.DischargeCapacitor.OnFixedUpdate () [0x00204] in <989fb22680e84dbba0703c76fe6eb41a>:0 at Part.ModulesOnFixedUpdate () [0x000bd] in <55ba45dc3a43403382024deac8dcd0be>:0 `

Logs and craft file can be found here: https://yadi.sk/d/6ZHe68IqSAmTrw

ChrisAdderley commented 4 years ago

Solved on forums, as discussed this is a problem with On Demand Fuel Cells.