Missing light linkNode (FS22)

Your forum for all discussions around Modding.
User avatar
Ekan
Posts: 289
Joined: Thu Nov 22, 2012 8:27 pm
Location: Falkenberg, Sweden

Missing light linkNode (FS22)

Post by Ekan » Thu Nov 25, 2021 1:02 pm

Its not a convert, just making a mod from standard. But got issue with the light, why?
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)'!
Found it. Was missing 2 index paths in shared lights in the mod.
FS since 2012 :hi:
"Immersive farmplay & detail fanatic"

PC: :gamer:
Predator XB273U
Geforce RTX 3070
i7-8700k 5ghz (OC) (3.70ghz)
HyperX fury 32gb RAM
M.2 970 evoPlus (500gb)
M.2 MP500 (150gb)
ROG strix Z370-F
Corsair 750w psu, cooling & chassi