GAMEBREAKING - instantieting materials inside npc_behavior_class ALWAYS throws COOKING ERROR

I played a little with your feedback. Cooking errors seemed to have vanished even without me taking any action. Magically dissapeared.
Even though cooking error was gone SetMaterial() method did not work with Material instatieted from the class level. Moving material instantietion to the method level solved the problem.
Sollution works both for npc_behavior_class and for base classes.
Thanks for your help!

1 Like