Open polosubtil opened 1 year ago
Hi, this is because error in many scripts with interact with another mods:
2022-12-10 00:09 Load mod: FS22_BaleCountSystem 2022-12-10 00:09 Error: Invalid customEnvironment given for SpecializationManager.addSpecialization. Should be a string or nil. 2022-12-10 00:09 LUA call stack: dataS/scripts/mods.lua (423) : printCallstack =C:/Users/Paul/Documents/My Games/FarmingSimulator2022/mods/FS22_BaleCountSystem/OzellikKaydi.lua (43) : addSpecialization =[C] (4294967295)
In the mod FS22_BaleCountSystem inside script OzellikKaydi.lua on the row # (43) is something wrong and here the error message starts. Same for another mod in this time: 2022-12-10 00:09 Load mod: FS22_Optional_Sow_Fertilize
and another callstack:
2022-12-10 00:20 Validity check failed in TransformGroup_setTranslation: 2022-12-10 00:20
2022-12-10 00:20 2022-12-10 00:20 D:\auto_builder\cache\svn\640050437397821b319c267ef24e9fdd\src\engine\app\ReflectionAndScriptBinding.cpp (8071)2022-12-10 00:20 : 2022-12-10 00:20 !MathUtil::isNaN(pArgs->arg[1].f)
2022-12-10 00:20 LUA call stack:
=C:/Users/Paul/Documents/My Games/FarmingSimulator2022/mods/FS22_REAimplements/REAimplements.lua (706) : printCallstack
and another one:
2022-12-10 00:20 Validity check failed in TransformGroup_worldDirectionToLocal: 2022-12-10 00:20
2022-12-10 00:20 2022-12-10 00:20 D:\auto_builder\cache\svn\640050437397821b319c267ef24e9fdd\src\engine\app\ReflectionAndScriptBinding.cpp (8264)2022-12-10 00:20 : 2022-12-10 00:20 MathUtil::isFinite(pArgs->arg[2].f)
2022-12-10 00:20 LUA call stack:
=C:/Users/Paul/Documents/My Games/FarmingSimulator2022/mods/FS22_REAwheels/REAwheels.lua (1025) : printCallstack
all that errors can be related to mentioned mod, because there are also LUA errors from another lua scripts... Seems to be not related only to REA_wheels. As you wrote, error disapear when mod is removed. This is solution.
Suggestion: remove the mod (or more latest mods one by one) and always check the log again, then repeat until you will have no errors. Hope it helps.
Hi @DrewCZ,
I'll give it a try, thanks a lot for looking into it mate
Hi Hans,
First, thanks a lot for your mods, really brings the game to another level ;)
I just had a callstack coming from REAWheels, not sure how it is triggered though. The only thing I can see is it happens just before a seeder has to be refilled (courseplay + autodrive in action), 3 liters left in the tank. Fendt 1050 (vanilla) + Horsch Pronto DC (Mod form Modhub)
Log.txt
I removed the mod from the game and replayed the same scenario, seems all right without it... Let me know if you need me to test anything, I have a save game 30 seconds before it happens :)