Well, I give up. Time to move my enum over to a int array.
When I compile using precompile, I get these errors because my mod is requiring these script files as depencies.
error CS2001: Source file 'F:\Games\daggerfall-unity-master Newest\Assets\s\com.unity.ugui\Runtime\UI\Core\Layout\CanvasScaler.cs' could not be found.
error CS2001: Source file 'F:\Games\daggerfall-unity-master Newest\Assets\s\com.unity.ugui\Runtime\UI\Core\Mask.cs' could not be found.
error CS2001: Source file 'F:\Games\daggerfall-unity-master Newest\Assets\s\com.unity.ugui\Runtime\UI\Core\RawImage.cs' could not be found.
error CS2001: Source file 'F:\Games\daggerfall-unity-master Newest\Assets\s\com.unity.ugui\Runtime\UI\Core\GraphicRaycaster.cs' could not be found.
I think this my be causing the material load issue? I loaded a game object with my attached materials and pulled it from the prefabbed object to ensure getasset wasn't having issues. Still, it says it can't find/load my material.
Yeah. this is a bigger problem than I thought. I'm using dependencies I don't think I should. I'm getting this error now about an enum I haven't even contrsucted.
Failed to seek mod loader on Minimap: Field 'm_UiScaleMode' is an enum type with a bad underlying type