Unity编辑器模式下调试正常无报错,打包WebGL平台后提示报错:
Unable to open DLL libc! Dynamic linking is not supported in WebAssembly builds due to limitations to performance and code size. Please statically link in the needed libraries.
解决方案:
由于WebGL不支持“System.Threading”,而在某些类的引用中将他引用,从而导致报错。所有类查找一下该引用,删除该引用即可。