Wasm code generation disallowed by embedder in Chrome
问题 I am embedding a WebGL game built in Unity on my web app built in Flask. I use a CSP for security purposes on the backend but even after including the wasm-eval directive in my CSP, I continue to get these errors only in Chrome: UnityLoader.js:4 failed to asynchronously prepare wasm: CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder printErr @ UnityLoader.js:4 UnityLoader.js:4 CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by