Replies: 1 comment
-
|
I’ve been digging into this, and it’s definitely a bug in the RedTape mod. Basically, the FarmGatherer.lua script is running a background scan for things like sprayers or water, but it’s hitting a 'ghost' object that doesn't actually exist in the game anymore. Since that scan runs every single frame, it’s trying to get info on a 'nothing' object thousands of times a second—that’s why your log is blowing up and the game eventually hitches. Until the author officially patches it, you can actually fix it yourself by adding a small safety check to the script. Open FS25_RedTape/src/gatherers/FarmGatherer.lua, find the overlapCallback function (around line 535), and wrap the code with an 'if' statement like this: function FarmGatherer:overlapCallback(entityId) end Adding those two lines tells the mod to just ignore those '0' IDs instead of crashing over them. If you don't want to mess with the files, your best bet is to sell/re-buy your sprayers to try and reset the IDs, or just disable the mod for now so the log spam doesn't bloat your save file! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I don't know what's causing it, but something like this pops up, then there's nothing for a long time, and after a few hours the same thing happens again.
I am sending part of the LOG, of course this message is repeated thousands of times throughout the day.
LUA call stack:
=[C]:-1 getName
=config/mods/FS25_RedTape/src/gatherers/FarmGatherer.lua:536 overlapCallback
=[C]:-1 overlapBox
=config/mods/FS25_RedTape/src/gatherers/FarmGatherer.lua:554 checkCreekByOverlap
=config/mods/FS25_RedTape/src/gatherers/FarmGatherer.lua:450 checkSprayers
=config/mods/FS25_RedTape/src/system/InfoGatherer.lua:47 runConstantChecks
=config/mods/FS25_RedTape/src/RedTape.lua:80 update
=dataS/scripts/BaseMission.lua:1116 update
=dataS/scripts/utils/Utils.lua:706
=dataS/scripts/FSBaseMission.lua:1914 update
=dataS/scripts/mission00.lua:683 update
=dataS/scripts/main.lua:1256 update
2026-04-19 00:15:27.161
Script error in getName: Unknown entity id 0 for 'object' in method 'getName'.
LUA call stack:
=[C]:-1 getName
=config/mods/FS25_RedTape/src/gatherers/FarmGatherer.lua:536 overlapCallback
=[C]:-1 overlapBox
=config/mods/FS25_RedTape/src/gatherers/FarmGatherer.lua:554 checkCreekByOverlap
=config/mods/FS25_RedTape/src/gatherers/FarmGatherer.lua:450 checkSprayers
=config/mods/FS25_RedTape/src/system/InfoGatherer.lua:47 runConstantChecks
=config/mods/FS25_RedTape/src/RedTape.lua:80 update
=dataS/scripts/BaseMission.lua:1116 update
=dataS/scripts/utils/Utils.lua:706
=dataS/scripts/FSBaseMission.lua:1914 update
=dataS/scripts/mission00.lua:683 update
=dataS/scripts/main.lua:1256 update
2026-04-19 00:15:27.161
Script error in getParent: Unknown entity id 0 for 'object' in method 'getParent'.
LUA call stack:
=[C]:-1 getParent
=config/mods/FS25_RedTape/src/gatherers/FarmGatherer.lua:535 overlapCallback
=[C]:-1 overlapBox
=config/mods/FS25_RedTape/src/gatherers/FarmGatherer.lua:554 checkCreekByOverlap
=config/mods/FS25_RedTape/src/gatherers/FarmGatherer.lua:450 checkSprayers
=config/mods/FS25_RedTape/src/system/InfoGatherer.lua:47 runConstantChecks
=config/mods/FS25_RedTape/src/RedTape.lua:80 update
=dataS/scripts/BaseMission.lua:1116 update
=dataS/scripts/utils/Utils.lua:706
=dataS/scripts/FSBaseMission.lua:1914 update
=dataS/scripts/mission00.lua:683 update
=dataS/scripts/main.lua:1256 update
2026-04-19 00:15:27.163 Warning (script): 'getName': Argument 1 has wrong type. Expected: Int. Actual: Nil
D:\auto_builder\cache\svn\3e58da700f1dc64aaeda39cfc7698a31\src\base\scripting\lua\LuauScriptSystem.cpp (1127): expectedType == Value::VoidType || expectedType == Value::ClassType2026-04-19 00:15:27.163
Script error: 'getName': Argument 1 has wrong type. Expected: Int. Actual: Nil
Beta Was this translation helpful? Give feedback.
All reactions