Community Forum

Warning (script): 'getParent': Argument 1 has wrong type. Expected: Int. Actual: Nil

Forum Overview >> Editor

CategoryEditor
Created28.06.2019 03:12


Terry Kalmi (Unknown) 28.06.2019 03:12
anyone know whats causing this? And how to fix it?




2019-06-27 16:32 Warning (script): 'getParent': Argument 1 has wrong type. Expected: Int. Actual: Nil
2019-06-27 16:32 ..\..\..\src\base\scripting\lua\LuaScriptSystem.cpp (864): expectedType == Value::VoidType || expectedType == Value::ClassType
2019-06-27 16:32 LUA call stack:
2019-06-27 16:32 dataS/scripts/vehicles/Vehicle.lua (1703) : getParent
2019-06-27 16:32 dataS/scripts/vehicles/specializations/Suspensions.lua (259) : getParentComponent
2019-06-27 16:32 dataS/scripts/vehicles/specializations/Suspensions.lua (276) : setSuspensionNodeCharacter
2019-06-27 16:32 dataS/scripts/vehicles/SpecializationUtil.lua (30)
2019-06-27 16:32 dataS/scripts/vehicles/specializations/Enterable.lua (621) : raiseEvent
2019-06-27 16:32 dataS/scripts/BaseMission.lua (1881) : enterVehicle
2019-06-27 16:32 dataS/scripts/FSBaseMission.lua (3221) : onEnterVehicle
2019-06-27 16:32 dataS/scripts/vehicles/VehicleEnterResponseEvent.lua (66) : onEnterVehicle
2019-06-27 16:32 dataS/scripts/network/Connection.lua (77) : run
2019-06-27 16:32 dataS/scripts/vehicles/VehicleEnterRequestEvent.lua (68) : sendEvent
2019-06-27 16:32 dataS/scripts/network/Connection.lua (77) : run
2019-06-27 16:32 dataS/scripts/BaseMission.lua (1852) : sendEvent
2019-06-27 16:32 dataS/scripts/BaseMission.lua (1384) : requestToEnterVehicle
2019-06-27 16:32 dataS/scripts/BaseMission.lua (2595) : toggleVehicle
2019-06-27 16:32 dataS/scripts/input/InputEvent.lua (100) : callback
2019-06-27 16:32 dataS/scripts/input/InputBinding.lua (3156) : notifyInput
2019-06-27 16:32 dataS/scripts/input/InputBinding.lua (2891) : updateInput
2019-06-27 16:32 dataS/scripts/main.lua (1843) : update

Bilbo Beutlin (BBeutlin) 28.06.2019 08:28
Quite sure a mod with custom (and faulty) lua script causes the failure.
If you're lucky the causing mod is cited above the error messages, else you must check stepwise one mod after another to get the causer.


Note: Log in to post. Create a new account here.