Giant bunch of errors thrown on ActiveMaterial/spActivateMaterial in spring 103.0
Code: Select all
stack traceback:
[string "luarules/utilities/unitrendering.lua"]:65: in function 'ActivateMaterial'
[string "luarules/utilities/unitrendering.lua"]:122: in function 'spActivateMaterial'
[string "LuaRules/Gadgets/api_custom_unit_shaders.lu..."]:436: in function 'ObjectFinished'
[string "LuaRules/Gadgets/api_custom_unit_shaders.lu..."]:460: in function 'FeatureCreated'
[string "LuaRules/Gadgets/api_custom_unit_shaders.lu..."]:532: in function 'GameFrame'
[string "LuaRules/Gadgets/hotfixes.lua"]:32: in function <[string "LuaRules/Gadgets/hotfixes.lua"]:29>
(tail call): ?
[f=0003580] Error: LuaRules::RunCallIn: error = 2, GameFrame, [Internal Lua error: Call failure] [string "luarules/utilities/unitrendering.lua"]:65: attempt to index local 'activeMats' (a boolean value)
This causes teamcolor to not be rendered:
Teamcolor is orange: https://i.imgur.com/JLwgtlN.png
Apparently JK has zero interest in ever fixing it, so perhaps someone here could help?