Skip to content

[Bug 🐞]: MPL Refuses to send science #106

Description

@slee2018-spec

Brief description of your issue (aka the problem)

When the Mobile Processing Lab (MPL-LG-2) is patched by ODFC, science transmission appears to work (progress bar reaches 100 %, “transmission complete” message), but no science is removed from the lab and nothing is received at KSC.

Operating system

Windows 10

KSP version

KSP Version: 1.12.5.3190 (Windows x64)

Version of addon

ODFC Version: v1.2.99.0-zed'K ModuleManager: 4.2.3

Steps to reproduce the behavior or issue

Place the stock Mobile Processing Lab MPL-LG-2 on any vessel.
Process some science data inside the lab
“Transmit Science”
Wait for the progress bar to finish → transmission reports as successful.
Check the lab and R&D → science amount unchanged.

Expected behavior

Science should be deducted from the lab and the corresponding amount should appear in the KSC

Actual behavior

Progress bar completes, message says transmission finished, but zero science is deducted and zero science arrives at Kerbin.

Environment

ModuleManager 4.2.3
Heavily modded install (full mod list available in attached Player.log)
The same vessel transmits science correctly if the OnDemandFuelCells folder is removed.

Log files

https://files.catbox.moe/3p0klh.txt (it wouldn't upload a txt file for me for some reason)

[LOG 15:24:37.842] [ModuleManager] Applying patches to Squad/Parts/Science/LargeCrewedLab/largeCrewedLab
[LOG 15:24:37.842] Applying update OnDemandFuelCells/Patches/Stock/LargeCrewedLab/@part[MPL-LG-2] to Squad/Parts/Science/LargeCrewedLab/largeCrewedLab.cfg
[LOG 15:24:37.842]
// This is the exact patch that breaks the lab
@part[MPL-LG-2]:FOR[OnDemandFuelCells]
{
node_stack_top = 0.0, 1.89, 0.0, 0.0, 1.0, 0.0, 2
node_stack_bottom = 0.0, -1.89, 0.0, 0.0, -1.0, 0.0, 2
mass = 3.501
title = Mobile Processing Lab MPL-LG-2 (ODFC)
description = A mobile science laboratory with built-in On Demand Fuel Cell capability.
MODULE
{
name = OnDemandFuelCell
ConverterName = Fuel Cell
StartActionName = Start Fuel Cell
StopActionName = Stop Fuel Cell
AutoShutdown = false
GeneratesHeat = true
UseSpecialistBonus = true
...
}
}

Bonus log:

[ODFC v1.2.99.0-zed'K]: OnFixedUpdate: _electricCharge is null
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Literally half or more of the log is this 😭

Screenshots

No response

Additional context

No response

How did you download and install this?

CKAN (auto install with dependencies)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions