Community Forum

LUA Call Stack: glass has invalid type

Forum Overview >> Farming Simulator 19

CategoryFarming Simulator 19
Created28.03.2020 08:22


Rob Peters (Unknown) 28.03.2020 08:22
Does anyone know what this error is, and how to fix it?

This is from my map, with only the map in the mods folder. It is repeated about 100 times.

2019-10-08 00:06 Warning (script): Entity 'glass' has invalid type in method 'setShaderParameter'.
2019-10-08 00:06 LUA call stack:
2019-10-08 00:06 dataS/scripts/objects/NightIllumination.lua (47) : setShaderParameter
2019-10-08 00:06 dataS/scripts/objects/NightIllumination.lua (19) : new
2019-10-08 00:06 Warning (script): Entity 'glass' has invalid type in method 'setShaderParameter'.

Bilbo Beutlin (BBeutlin) 28.03.2020 16:55
I'd guess you're trying to convert a map from earlier FS?
Some things have changed in FS19.
Perhaps it works if you use a legacy FS17 shader from "$data/fs17support/shaders/.."


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