I got game hanging in some situations with Tow Bar 1.0.0.1:
There was two tow bars near to each other and attached to different vehicles.
One tow bar attached to tractor and other side near the dolly from mod "Gooseneck Dolly" 1.0.0.0.
There is a lot of same errors.
Errors from log:
2024-06-18 03:09 Error: Running LUA method 'update'.
D:/My Documents/My Games/FarmingSimulator2022/mods/FS22_TowBar/scripts/Towbar.lua:223: attempt to index field 'spec_attacherJoints' (a nil value)
...
2024-06-18 03:09 Error: Running LUA method 'update'.
D:/My Documents/My Games/FarmingSimulator2022/mods/FS22_TowBar/scripts/Towbar.lua:223: attempt to index field 'spec_attacherJoints' (a nil value)
2024-06-18 03:09 Error: Running LUA method 'update'.
D:/My Documents/My Games/FarmingSimulator2022/mods/FS22_TowBar/scripts/Towbar.lua:223: attempt to index field 'spec_attacherJoints' (a nil value)
2024-06-18 03:09 Error: Running LUA method 'update'.
D:/My Documents/My Games/FarmingSimulator2022/mods/FS22_TowBar/scripts/Towbar.lua:223: attempt to index field 'spec_attacherJoints' (a nil value)
...
2024-06-18 03:10 Error: Running LUA method 'update'.
D:/My Documents/My Games/FarmingSimulator2022/mods/FS22_TowBar/scripts/Towbar.lua:148: attempt to index field 'spec_enterable' (a nil value)
...
2024-06-18 03:10 Error: Running LUA method 'update'.
D:/My Documents/My Games/FarmingSimulator2022/mods/FS22_TowBar/scripts/Towbar.lua:148: attempt to index field 'spec_enterable' (a nil value)
2024-06-18 03:10 Error: Running LUA method 'update'.
D:/My Documents/My Games/FarmingSimulator2022/mods/FS22_TowBar/scripts/Towbar.lua:148: attempt to index field 'spec_enterable' (a nil value)
2024-06-18 03:10 Error: Running LUA method 'update'.
D:/My Documents/My Games/FarmingSimulator2022/mods/FS22_TowBar/scripts/Towbar.lua:148: attempt to index field 'spec_enterable' (a nil value)
2024-06-18 03:10 Error: Running LUA method 'update'.
...
Hello! Thanks for the mod!
I got game hanging in some situations with Tow Bar 1.0.0.1:
There is a lot of same errors. Errors from log:
2024-06-18 03:09 Error: Running LUA method 'update'. D:/My Documents/My Games/FarmingSimulator2022/mods/FS22_TowBar/scripts/Towbar.lua:223: attempt to index field 'spec_attacherJoints' (a nil value)
...
2024-06-18 03:10 Error: Running LUA method 'update'. D:/My Documents/My Games/FarmingSimulator2022/mods/FS22_TowBar/scripts/Towbar.lua:148: attempt to index field 'spec_enterable' (a nil value)
And I found 1 warning:
2024-06-18 03:10 Warning (script): 'removeJoint': Argument 1 has wrong type. Expected: Int. Actual: Nil =D:/My Documents/My Games/FarmingSimulator2022/mods/FS22_TowBar/scripts/Towbar.lua (277) : removeJoint