Missing light linkNode (FS22)
Posted: Thu Nov 25, 2021 1:02 pm
by Ekan
Its not a convert, just making a mod from standard. But got issue with the light, why?
Found it. Was missing 2 index paths in shared lights in the mod.
2021-11-25 02:28 C:/Users/ekan_/Documents/My Games/FarmingSimulator2022/mods/FS22_FieldMaster20/Fieldmaster20.i3d (21.56 ms) 2021-11-25 02:28 Error: Failed to find child 12 from node sharedLights, only 12 children given 2021-11-25 02:28 LUA call stack: dataS/scripts/i3d/I3DUtil.lua (20) : printCallstack dataS/scripts/i3d/I3DUtil.lua (100) : checkChildIndex dataS/scripts/i3d/I3DUtil.lua (395) : indexToObject dataS/scripts/xml/XMLFile.lua (263) : closure dataS/scripts/i3d/I3DUtil.lua (391) : iterate dataS/scripts/vehicles/Vehicle.lua (820) : loadI3DMapping dataS/scripts/i3d/I3DManager.lua (129) : asyncCallbackFunction 2021-11-25 02:28 Error: Index not found: 0>0|1|0|12 2021-11-25 02:28 Error: Failed to find child 13 from node sharedLights, only 12 children given 2021-11-25 02:28 LUA call stack: dataS/scripts/i3d/I3DUtil.lua (20) : printCallstack dataS/scripts/i3d/I3DUtil.lua (100) : checkChildIndex dataS/scripts/i3d/I3DUtil.lua (395) : indexToObject dataS/scripts/xml/XMLFile.lua (263) : closure dataS/scripts/i3d/I3DUtil.lua (391) : iterate dataS/scripts/vehicles/Vehicle.lua (820) : loadI3DMapping dataS/scripts/i3d/I3DManager.lua (129) : asyncCallbackFunction 2021-11-25 02:28 Error: Index not found: 0>0|1|0|13 2021-11-25 02:28 data/shared/wheels/tires/trelleborg/TwinRadial/R30_5_TwinRadial.i3d (2.12 ms) 2021-11-25 02:28 Error: Failed to find child 12 from node sharedLights, only 12 children given 2021-11-25 02:28 LUA call stack: dataS/scripts/i3d/I3DUtil.lua (20) : printCallstack dataS/scripts/i3d/I3DUtil.lua (100) : checkChildIndex dataS/scripts/xml/XMLValueType.lua (61) : indexToObject dataS/scripts/vehicles/specializations/Lights.lua (1160) : getValue dataS/scripts/vehicles/specializations/Lights.lua (362) : loadSharedLight dataS/scripts/xml/XMLFile.lua (263) : closure dataS/scripts/vehicles/specializations/Lights.lua (361) : iterate dataS/scripts/specialization/SpecializationUtil.lua (19) dataS/scripts/vehicles/Vehicle.lua (961) : raiseEvent dataS/scripts/i3d/I3DManager.lua (129) : asyncCallbackFunction 2021-11-25 02:28 Error: Index not found: 0>0|1|0|12 2021-11-25 02:28 Warning (C:/Users/ekan_/Documents/My Games/FarmingSimulator2022/mods/FS22_FieldMaster20/fieldMaster20.xml): Missing light linkNode in 'vehicle.lights.sharedLight(10)'! 2021-11-25 02:28 Error: Failed to find child 13 from node sharedLights, only 12 children given 2021-11-25 02:28 LUA call stack: dataS/scripts/i3d/I3DUtil.lua (20) : printCallstack dataS/scripts/i3d/I3DUtil.lua (100) : checkChildIndex dataS/scripts/xml/XMLValueType.lua (61) : indexToObject dataS/scripts/vehicles/specializations/Lights.lua (1160) : getValue dataS/scripts/vehicles/specializations/Lights.lua (362) : loadSharedLight dataS/scripts/xml/XMLFile.lua (263) : closure dataS/scripts/vehicles/specializations/Lights.lua (361) : iterate dataS/scripts/specialization/SpecializationUtil.lua (19) dataS/scripts/vehicles/Vehicle.lua (961) : raiseEvent dataS/scripts/i3d/I3DManager.lua (129) : asyncCallbackFunction 2021-11-25 02:28 Error: Index not found: 0>0|1|0|13 2021-11-25 02:28 Warning (C:/Users/ekan_/Documents/My Games/FarmingSimulator2022/mods/FS22_FieldMaster20/fieldMaster20.xml): Missing light linkNode in 'vehicle.lights.sharedLight(11)'! | ||