Attempting to mod the FarmPlot SBC results in game freeze and crash
Investigating
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.
Files:
Vanilla FarmPlo...
I have the same bug
Hello Engineer,
Thank you for reaching out to us on the forum and for sharing your SBC file.
We’ve tested your SBC definition on our side, but we were unable to reproduce the crash. The Farm Plot block was placed and functioned normally.
To help us investigate further, could you please provide a bit more information?
Are you playing in single-player, Lobby, or on a dedicated server?
Is your world/server modded (has active MODs)? Since it’s possible that another MOD(s) active in your world/server is modifying the same Farm Plot block definition, which could cause the missing component and the crash you encountered.
Please also confirm the file name and path of your SBC file (it should look like this):
Please send us the log file from the time the crash occurred. The log file name starts as, SpaceEngineers_
Kind Regards,
Keen Software House: QA Department
Hello Engineer,
Thank you for reaching out to us on the forum and for sharing your SBC file.
We’ve tested your SBC definition on our side, but we were unable to reproduce the crash. The Farm Plot block was placed and functioned normally.
To help us investigate further, could you please provide a bit more information?
Are you playing in single-player, Lobby, or on a dedicated server?
Is your world/server modded (has active MODs)? Since it’s possible that another MOD(s) active in your world/server is modifying the same Farm Plot block definition, which could cause the missing component and the crash you encountered.
Please also confirm the file name and path of your SBC file (it should look like this):
Please send us the log file from the time the crash occurred. The log file name starts as, SpaceEngineers_
Kind Regards,
Keen Software House: QA Department
Hello,
I am playing in a newly-generated empty world in single-player.
At the time, the only other mods I had enabled were Build Vision and Build Info.
I've retried the same scenario, newly-generated empty world, with no other mods enabled, and still encountered the crash.
My AppData folder is redirected with the `-appdata` launch flag as my C:\ drive has little limited space.
That being said, I can confirm the path relative to the redirected folder matches- `../SpaceEngineers/Vanilla Farm Plots/Data/*.sbc`
Please find attached the latest logs and a screenshot of the folder path + content files.
Hello,
I am playing in a newly-generated empty world in single-player.
At the time, the only other mods I had enabled were Build Vision and Build Info.
I've retried the same scenario, newly-generated empty world, with no other mods enabled, and still encountered the crash.
My AppData folder is redirected with the `-appdata` launch flag as my C:\ drive has little limited space.
That being said, I can confirm the path relative to the redirected folder matches- `../SpaceEngineers/Vanilla Farm Plots/Data/*.sbc`
Please find attached the latest logs and a screenshot of the folder path + content files.
Replies have been locked on this page!