3d-dice/dice-box

followed instructions, getting several errors in Angular App

Opened this issue · 1 comments

jmdjr commented

I followed the installation instructions, and I get a black box on my screen with javascript errors saying things like
wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': HTTP status code is not ok
and
failed to asynchronously prepare wasm: CompileError: WebAssembly.instantiate(): expected magic word 00 61 73 6d, found 3c 21 44 4f @+0
quick searches online don't reveal any way to fix these. what would you recommend as the best way to get this working?

jmdjr commented

I figured out that this was due to placement of the public folder assets. after placing it in a location that my application can read from, I am now getting this error, which seems to deal with webgl.
[.WebGL-0000379003C8D500] GL_INVALID_OPERATION: Error: 0x00000502, in ..\..\third_party\angle\src\libANGLE\renderer\d3d\VertexDataManager.cpp, reserveSpaceForAttrib:520. Internal error: 0x00000502: Vertex buffer is not big enough for the draw call.