Attempting to mod the FarmPlot SBC results in game freeze and crash

Lorekeeper Kuma shared this bug 5 hours ago
Submitted

I was trying to modify the Farm Plot's EntityContainer and EntityComponent SBC files in a new mod folder, only for it to result in the game freezing and crashing when trying to place down the modified farm plot block.

Even just the default unmodified EntityContainer SBC in the mod folder with just the Farm Plot entry results in the same crash.


2025-10-13 16:06:05.751 - Thread:   1 ->  Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at SpaceEngineers.Game.EntityComponents.GameLogic.MyFarmPlotLogic.ComputeRequiredElectricityInput()
   at Sandbox.Game.EntityComponents.MyResourceSinkComponent.Update()
   at System.Action`1.Invoke(T obj)
   at System.DelegateExtensions.InvokeIfNotNull[T1](Action`1 handler, T1 arg1)
   at Sandbox.Game.Entities.Cube.MyFunctionalBlock.OnEnabledChanged()
Big thanks to Digi in the KeenSWH discord for helping me figure this out.

Leave a Comment
 
Attach a file