Timberborn

Timberborn

[To be updated] More Platforms
[BUG] Mod Conflict with Greedy Builders.
v0.6.9.3-b880551-xsw ArgumentException: Material BaseMetal.GreedyBuilders not found in repository. Timberborn.TimbermeshMaterials.MaterialRepository.GetMaterial (System.String materialName) (at <e9ec6946d38241068e939c3b0d4f657f>:0) MorePlatforms.ShaderFix.Postfix () (at <09dc01874ae64441af626c753ff3b4ae>:0) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Timberborn.TimbermeshMaterials.MaterialRepository.Load_Patch1(Timberborn.TimbermeshMaterials.MaterialRepository) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Timberborn.SingletonSystem.SingletonLifecycleService.LoadSingletons_Patch2(Timberborn.SingletonSystem.SingletonLifecycleService) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Timberborn.SingletonSystem.SingletonLifecycleService.LoadAll_Patch1(Timberborn.SingletonSystem.SingletonLifecycleService) Timberborn.SingletonSystem.SingletonLifecycleAdapter.Start () (at <2cf8a69d91ab4139baf8d8d9e11adc45>:0)

The issue seems to arise when attempting to load materials. I think you have an implicit error in your code, assuming that the current faction has the given material. An explicit check would be better, with a fallback to the Folktails, this would improve compatibility with other mods, and allow them to add their own, without affecting your code.