InvalidProgramException: Invalid IL code in ***:.cctor (): IL_001b: stsfld 0x040002d8
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for ***
***.Start () (at Assets/Scripts/***.cs:20)
This bit of code calls upon a dll depending on another dll. This error occurs if it cannot find the dll, but I've tried pretty much everything to get it to find it.
System32, Plugins, Plugins/(x86/x64), Unity editor Root, putting it next to the exe in a build.
I probably missed a few but I hope someone sees something I dont.
Thanks in advance!
↧