Trying to get a game running on the web platform and getting this error in the editor:
FieldAccessException: Error verifying SomeClass:SomeFunction (ArgumentClass): Type at stack is not accessible at 0x021e
There are some indications the same problem is happening in the web browser, but as yet I haven’t figured out how to see the “console” there (if such a thing exists).
From the little bit I’ve dug up in searching, it looks like some kind of compilation error - the message that the function in question is marked in the script assembly as private, but that doesn’t make sense since a) if I make it public/protected/private it doesn’t matter, and b) the function is called from the same class so it shouldn’t matter anyway. Plus, we’re not seeing this on other platforms (Mac/iOS/Android). If it makes a difference, the source files in question are in javascript.
I’ve restarted the editor, saved the files in question with minor changes to force a recompile, and wiped out the ScriptAssemblies directory… somebody stop me before I get out the chicken bones and eagle feathers.