type or namespace won't be recognized in WEB GL Build

Hi everyone,

I’ve been struggling with this for a couple of days now and I’m starting to lose my mind.

I’m making a game targeted for WEB GL build.

The thing is that the game works perfectly fine both in editor mode and in standalone builds. But when I try to make a WEB GL build I get this error:

The type or namespace name `SimpleJSON’ could not be found. Are you missing an assembly reference?

Every script has the using SimpleJSON directive when they have to, otherwise, they wouldn’t compile in editor mode.

This is the first time I find myself in the need of making a WEB GL build. But I’ve been looking a lot, and nowhere to be seen says that I have to put some different option to use using directives.

Hope someone can help me with this.

Sorry for my English.

Well… I’m pretty sure there should be a better answer. But I managed to make it work by downloading an example project and copying the Library folder from that one to my project.

NOT very elegant, but it’s working.