Solved: DevWarning: Object:getNextDirtyFlag(), too many dirty flags

Your forum for all discussions around Modding.
kenny456
Posts: 49
Joined: Tue Aug 28, 2018 7:00 pm

Solved: DevWarning: Object:getNextDirtyFlag(), too many dirty flags

Post by kenny456 »

DevWarning: Object:getNextDirtyFlag(), too many dirty flags

Hello i get this error in the log when i load my mod in the shop (with parameter -devWarning turned on). Can someone explain me what causes this issue please?
Last edited by kenny456 on Sun Apr 07, 2024 12:02 pm, edited 1 time in total.
kenny456
Posts: 49
Joined: Tue Aug 28, 2018 7:00 pm

Re: DevWarning: Object:getNextDirtyFlag(), too many dirty flags

Post by kenny456 »

Update: Here is log from console testing when this error appears:

- The first configuration throws a LUA call stack in the log:
DevWarning: Object:getNextDirtyFlag(), too many dirty flags
LUA call stack:
dataS/scripts/network/Object.lua (161) : printCallstack
dataS/scripts/vehicles/specializations/Dischargeable.lua (274) : getNextDirtyFlag
dataS/scripts/specialization/SpecializationUtil.lua (23)
dataS/scripts/vehicles/Vehicle.lua (993) : raiseEvent
dataS/scripts/i3d/I3DManager.lua (134) : asyncCallbackFunction
DevWarning: Object:getNextDirtyFlag(), too many dirty flags
LUA call stack:
dataS/scripts/network/Object.lua (161) : printCallstack
dataS/scripts/vehicles/specializations/Shovel.lua (147) : getNextDirtyFlag
dataS/scripts/specialization/SpecializationUtil.lua (23)
dataS/scripts/vehicles/Vehicle.lua (993) : raiseEvent
dataS/scripts/i3d/I3DManager.lua (134) : asyncCallbackFunction

If i remove specializations Dischargeable and Shovel from my vehicleType in modDesc, there is no error/warning.
kenny456
Posts: 49
Joined: Tue Aug 28, 2018 7:00 pm

Re: DevWarning: Object:getNextDirtyFlag(), too many dirty flags

Post by kenny456 »

Solved: There were used too many movingTools.
Post Reply