Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Houston, we have a problem. 

Mulching the field is no longer supported. Tried to use the Bednar base game mulcher and got a tons of errors.

Script error in DensityMapFilterLua.initialize: Invalid object parameter.

LUA call stack:

  =[C]:-1 new

  =dataS/scripts/utils/FSDensityMapUtil.lua:2577 updateMulcherArea

  =dataS/scripts/vehicles/specializations/Mulcher.lua:300 processMulcherArea

  =dataS/scripts/vehicles/specializations/WorkArea.lua:277 onUpdateTick

  =dataS/scripts/specialization/SpecializationUtil.lua:56 raiseEvent

  =dataS/scripts/vehicles/Vehicle.lua:2130 updateTick

  =dataS/scripts/network/NetworkNode.lua:214 updateActiveObjectsTick

  =dataS/scripts/network/Server.lua:83 update

  =dataS/scripts/BaseMission.lua:1023 update

  =dataS/scripts/utils/Utils.lua:579 

  =dataS/scripts/FSBaseMission.lua:1911 update

  =dataS/scripts/mission00.lua:667 update

  =dataS/scripts/main.lua:1225 update

2025-09-27 16:39:48.157 Warning (script): 'DensityMapModifier:new': Argument 1 has wrong type. Expected: Int. Actual: Nil

  D:\auto_builder\cache\svn\24d54671488f8c8b8ff593ba1ab77f8f\src\base\scripting\lua\LuauScriptSystem.cpp (1123): expectedType == Value::VoidType || expectedType == Value::ClassType2025-09-27 16:39:48.157 

Script error: 'DensityMapModifier:new': Argument 1 has wrong type. Expected: Int. Actual: Nil

LUA call stack:

  =[C]:-1 new

  =dataS/scripts/utils/FSDensityMapUtil.lua:43 new

  =dataS/scripts/utils/FSDensityMapUtil.lua:2578 updateMulcherArea

  =dataS/scripts/vehicles/specializations/Mulcher.lua:300 processMulcherArea

  =dataS/scripts/vehicles/specializations/WorkArea.lua:277 onUpdateTick

  =dataS/scripts/specialization/SpecializationUtil.lua:56 raiseEvent

  =dataS/scripts/vehicles/Vehicle.lua:2130 updateTick

  =dataS/scripts/network/NetworkNode.lua:214 updateActiveObjectsTick

  =dataS/scripts/network/Server.lua:83 update

  =dataS/scripts/BaseMission.lua:1023 update

  =dataS/scripts/utils/Utils.lua:579 

  =dataS/scripts/FSBaseMission.lua:1911 update

  =dataS/scripts/mission00.lua:667 update

  =dataS/scripts/main.lua:1225 update

2025-09-27 16:39:48.157 Error: Running LUA method 'update'.

dataS/scripts/utils/FSDensityMapUtil.lua:44: attempt to index nil with 'setPolygonRoundingMode'

Will test. I use mulcher on Montana and it works fine. Do you have Real Mower or smtg like that enabled that can mess with the game?

It shouldn't be a problem because the modifications were made in productions mostly, so... Will test now and tell you how it went.

As you can see in the screenshot is all ok. Loaded the map only with Easy Dev and DLCs. So the errors must be from a mod... 

My active mods are the precision farming dlc and your map prerequisites. Nothing else.

Odd. On which crop? Might not have a mulching state.

(1 edit) (+1)

It's a normal wheat field, which is why it's strange that the function isn't working. It's autumn-sown wheat, if that matters.

I had an idea, and it worked. Since my problems were related to the vary basics of the game, I reinstalled it, and the anomaly disappeared. Sorry for the disturbance I made.