Well, since the new EV logic revamp. I was notice something that cause every official EVs and mods that using Lua are no longer drive or accelerates anymore with the broken mods message (except Zeit's eBastion which is still working with the recent update, and Autron Petitron Electric is also drivable but UI doesn't work) And here's what the console displayed when I loading an "Cherrier Vivace E": Code: 107.81402|D|libbeamng.loader| Vehicle loading took: 107819.467792 ms 107.90470|E|libbeamng.controller.init| Can't load controller 'vehicleController' at '/controller/vehicleController.lua', further info below: 107.90473|E|libbeamng.controller.init| lua/vehicle/controller/shiftLogic-electricMotor.lua:486: attempt to perform arithmetic on field 'maxRegenTorque' (a nil value) 107.94658|E|libbeamng.controller.init| =============== Stack Traceback >> START >> 107.94661|E|libbeamng.controller.init| (1) Lua field 'init' at file 'lua/vehicle/controller.lua:466' 107.94662|E|libbeamng.controller.init| Local variables: 107.94663|E|libbeamng.controller.init| mt = table: 0xa016b43680 {__index:function: 0xa016b436c8, __call:function: 0xa016b436f8, __metatable:false (more...)} 107.94663|E|libbeamng.controller.init| jbeamControllers = table: 0x9ffd0f6bb8 {0:table: 0x9ffd0f6ce0, 1:table: 0x9ffd0f6df0, 2:table: 0x9ffd0f7040, 3:table: 0x9ffd0f7150 (more...)} 107.94664|E|libbeamng.controller.init| controllers = table: 0xa016b437a0 {AVAS:table: 0x9ffd0f8660, gauges/customModules/environmentData:table: 0x9ffd0f8b10 (more...)} 107.94667|E|libbeamng.controller.init| directory = string: "controller/" 107.94668|E|libbeamng.controller.init| (for generator) = C function: next 107.94668|E|libbeamng.controller.init| (for state) = table: 0xa016b437a0 {AVAS:table: 0x9ffd0f8660, gauges/customModules/environmentData:table: 0x9ffd0f8b10 (more...)} 107.94669|E|libbeamng.controller.init| (for control) = userdata: NULL 107.94669|E|libbeamng.controller.init| k = string: "vehicleController" 107.94670|E|libbeamng.controller.init| c = table: 0x9ffd0f6ce0 {topSpeedLimitReverse:15, globalSkin:metallic, skinName:spt, licenseplate_path:vehicles/common/licenseplates/thai_graphical_cm-alt/thai_graphical_cm-alt.json (more...)} 107.94671|E|libbeamng.controller.init| filePath = string: "controller/vehicleController" 107.94671|E|libbeamng.controller.init| loadFunc = Lua function 'loadFunc' (defined at line 439 of chunk @lua/vehicle/controller.lua) 107.94672|E|libbeamng.controller.init| result = boolean: false 107.94672|E|libbeamng.controller.init| errorStr = string: "lua/vehicle/controller/shiftLogic-electricMotor.lua:486: attempt to perform arithmetic on field 'maxRegenTorque' (a nil value)" 107.94673|E|libbeamng.controller.init| (*temporary) = C function: 0x9f80028f00 107.94674|E|libbeamng.controller.init| (*temporary) = number: 3.38626e-312 107.94674|E|libbeamng.controller.init| (*temporary) = string: "E" 107.94675|E|libbeamng.controller.init| (*temporary) = string: "controller.init" 107.94675|E|libbeamng.controller.init| (2) Lua global 'initSystems' at file 'lua/vehicle/main.lua:149' 107.94676|E|libbeamng.controller.init| (3) Lua function 'init' at file 'lua/vehicle/main.lua:299' (best guess) 107.94676|E|libbeamng.controller.init| Local variables: 107.94677|E|libbeamng.controller.init| path = string: "/vehicles/vivace/" ..... 107.95219|E|libbeamng.controller.init| --------------- << END << 107.96972|W|libbeamng.controller.init| No main controller found, adding a dummy controller! 107.98497|E|libbeamng.Lua.Exception| *** FATAL LUA ERROR: 108.00959|E|libbeamng.Lua.Exception| lua/vehicle/controller.lua:247: attempt to index field 'typeName' (a nil value) 108.00962|E|libbeamng.Lua.Exception| =============== Stack Traceback >> START >> 108.00963|E|libbeamng.Lua.Exception| (1) metamethod C function '__index' 108.00963|E|libbeamng.Lua.Exception| (2) Lua field 'getControllersFromPath' at file 'lua/vehicle/controller.lua:247' 108.00964|E|libbeamng.Lua.Exception| Local variables: 108.00964|E|libbeamng.Lua.Exception| path = string: "drivingDynamics/" 108.00965|E|libbeamng.Lua.Exception| controllers = table: 0xa016b38688 {1:table: 0xa016b46a68, 2:table: 0xa016b4c4b0, 3:table: 0xa016b50358, 4:table: 0xa016b52740 (more...)} 108.00966|E|libbeamng.Lua.Exception| (for generator) = C function: next 108.00966|E|libbeamng.Lua.Exception| (for state) = table: 0xa016b43560 {AVAS:table: 0xa016b44090, gauges/customModules/environmentData:table: 0xa016b44910 (more...)} 108.00967|E|libbeamng.Lua.Exception| (for control) = userdata: NULL 108.00967|E|libbeamng.Lua.Exception| _ = string: "dummy" 108.00968|E|libbeamng.Lua.Exception| v = table: 0xa016b2ffa8 {sendTorqueData:function: 0x9f8008a958, init:function: 0x9f8008a958, setGearboxMode:function: 0x9f8008a958 (more...)} 108.00968|E|libbeamng.Lua.Exception| (*temporary) = nil 108.00969|E|libbeamng.Lua.Exception| (*temporary) = number: 3.38626e-312 108.00969|E|libbeamng.Lua.Exception| (*temporary) = nil 108.00970|E|libbeamng.Lua.Exception| (*temporary) = table: 0xa016b559b8 {getSupervisors:function: 0xa016b56a48, registerCalibrationCallback:function: 0xa004e8e918 (more...)} 108.00970|E|libbeamng.Lua.Exception| (*temporary) = number: 16 108.00971|E|libbeamng.Lua.Exception| (*temporary) = string: "attempt to index field 'typeName' (a nil value)" 108.00972|E|libbeamng.Lua.Exception| (3) Lua field 'initSecondStage' at file 'lua/vehicle/controller/drivingDynamics/CMU.lua:282' 108.00972|E|libbeamng.Lua.Exception| (4) Lua field 'initSecondStage' at file 'lua/vehicle/controller.lua:677' 108.00973|E|libbeamng.Lua.Exception| Local variables: 108.00973|E|libbeamng.Lua.Exception| (for generator) = C function: next 108.00974|E|libbeamng.Lua.Exception| (for state) = table: 0xa016b435a8 {1:table: 0xa016b559b8, 2:table: 0xa016b5a5b0, 3:table: 0xa016b4ea08, 4:table: 0xa016b46a68 (more...)} 108.00974|E|libbeamng.Lua.Exception| (for control) = userdata: NULL 108.00975|E|libbeamng.Lua.Exception| _ = number: 1 108.00975|E|libbeamng.Lua.Exception| v = table: 0xa016b559b8 {getSupervisors:function: 0xa016b56a48, registerCalibrationCallback:function: 0xa004e8e918 (more...)} 108.00976|E|libbeamng.Lua.Exception| (5) Lua global 'initSystems' at file 'lua/vehicle/main.lua:154' 108.00976|E|libbeamng.Lua.Exception| (6) Lua function 'init' at file 'lua/vehicle/main.lua:299' (best guess) 108.00977|E|libbeamng.Lua.Exception| Local variables: 108.00977|E|libbeamng.Lua.Exception| path = string: "/vehicles/vivace/" ..... 108.01427|E|libbeamng.Lua.Exception| --------------- << END << 108.01534|E|libbeamng.Lua.Exception| ****************************************** 108.01537|E|libbeamng.Lua.Exception| *** DISABLING VEHICLE DUE TO EXCEPTION *** 108.01538|E|libbeamng.Lua.Exception| ****************************************** 108.01538|E|libbeamng.Lua.Exception| *** vehicle/object error (Note: The period I wrote between 107.94677, 107.95219 and 108.00977, 108.01427 is actually an initData function that displays all the parts used in the configuration file, and I'm not put it here since the page freezes when I do it...) And to my surprise, I just found out that some old lua-related ev mods has mainEngine as an electric motor (not mainMotor as of right now), so the game will recognized it as the normal ICE engine (not sure how many mods have that, but I surely know that the Vivace Sport E did) Also, when I tried to launch the game in safe mode. That problem doesn't appear at all. So that's why I created this thread in mod support category. (There's a thread for reporting broken mods too, but I'm not going to risking this since it was 4 months old...) If you have this kind of issue, please let me know.
After going through some troubleshooting I found out that the eScintilla EV mod is what causes the issue. Link here: https://www.beamng.com/resources/escintilla-ev.23682/
Thank you for that, actually I was thought that is also happens with multiple mods... But no. The eScintilla EV is the only one that's cause these this issue. And again, Thank you for troubleshooting info. Now I can try that new electric logic with every EVs now...