LUA Error
Posted: Thu Oct 26, 2017 5:03 pm
Can anyone explain what an LUA error is and how I can figure out how to solve it?
FYI I am a pretty experienced player and I understand how MODs affect the game. I use the same mods in two different saved games and only one has an LUA error. I have tried inserting Mods one at a time to see which one does it, but it appears that this is something that does not happen right away and I am not convinced it is a Mod error which is why I am posting on the technical forum.
I am new to this forum, so if I need to post elsewhere please let me know, but I am hoping you guys can help. Since the log file is long I am posting only the error messages for now, if I delete the log file these errors don't even show up in the new log file right away, and also the error doesn't appear to point to a Mod. any help you can give would be very much appreciated.
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (56) : checkChildIndex
dataS/scripts/vehicles/specializations/Lights.lua (59) : indexToObject
dataS/scripts/vehicles/specializations/Lights.lua (227) : loadLights
dataS/scripts/vehicles/Vehicle.lua (627)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Index: 0>33|0|5|0
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (56) : checkChildIndex
dataS/scripts/vehicles/specializations/Lights.lua (59) : indexToObject
dataS/scripts/vehicles/specializations/Lights.lua (237) : loadLights
dataS/scripts/vehicles/Vehicle.lua (627)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Index: 0>33|1|5|0
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (56) : checkChildIndex
dataS/scripts/vehicles/specializations/Lights.lua (59) : indexToObject
dataS/scripts/vehicles/specializations/Lights.lua (227) : loadLights
dataS/scripts/vehicles/Vehicle.lua (627)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Index: 0>33|0|5|1
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (56) : checkChildIndex
dataS/scripts/vehicles/specializations/Lights.lua (59) : indexToObject
dataS/scripts/vehicles/specializations/Lights.lua (237) : loadLights
dataS/scripts/vehicles/Vehicle.lua (627)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Index: 0>33|1|5|1
FYI I am a pretty experienced player and I understand how MODs affect the game. I use the same mods in two different saved games and only one has an LUA error. I have tried inserting Mods one at a time to see which one does it, but it appears that this is something that does not happen right away and I am not convinced it is a Mod error which is why I am posting on the technical forum.
I am new to this forum, so if I need to post elsewhere please let me know, but I am hoping you guys can help. Since the log file is long I am posting only the error messages for now, if I delete the log file these errors don't even show up in the new log file right away, and also the error doesn't appear to point to a Mod. any help you can give would be very much appreciated.
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (56) : checkChildIndex
dataS/scripts/vehicles/specializations/Lights.lua (59) : indexToObject
dataS/scripts/vehicles/specializations/Lights.lua (227) : loadLights
dataS/scripts/vehicles/Vehicle.lua (627)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Index: 0>33|0|5|0
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (56) : checkChildIndex
dataS/scripts/vehicles/specializations/Lights.lua (59) : indexToObject
dataS/scripts/vehicles/specializations/Lights.lua (237) : loadLights
dataS/scripts/vehicles/Vehicle.lua (627)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Index: 0>33|1|5|0
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (56) : checkChildIndex
dataS/scripts/vehicles/specializations/Lights.lua (59) : indexToObject
dataS/scripts/vehicles/specializations/Lights.lua (227) : loadLights
dataS/scripts/vehicles/Vehicle.lua (627)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Index: 0>33|0|5|1
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (56) : checkChildIndex
dataS/scripts/vehicles/specializations/Lights.lua (59) : indexToObject
dataS/scripts/vehicles/specializations/Lights.lua (237) : loadLights
dataS/scripts/vehicles/Vehicle.lua (627)
dataS/scripts/utils/Utils.lua (1138) : asyncCallbackFunction
Index: 0>33|1|5|1