Hmm it worked one time. However, after I tried building for Android I got a different error (resource missing.) I fixed this then built HTML5 again and now the error has returned. I checked all my collections and they have different names… Not sure what’s causing it, I’m trying to build defold since I need a version of the wasm-web engine with -s ASSERTS=1 enabled to see the full error message. I’m not even sure that will explain it, but at least I’ll have all the info possible.
EDIT: I figured out the issue. After removing all factories which use 3D Collada models the HTML5 build works fine. However, it does work with meshes. Is this a known bug, or is there some max tri count for Collada models on HTML5 I don’t know about?
EDIT2: I spoke too soon, I’m having issues w/ meshes now. However, I did have them working in HTML5/Android earlier in the project and nothing has changed regarding those objects since then since I moved over to Collada based models…
EDIT3: I’ve finally deduced the reason for the crash. I had previously been doing the shader operation “var_texcoord0 = texcoord0 * 2;” in my code to scale the texture. However, after changing this to simply “var_texcoord0 = texcoord0;” the game builds and plays on HTML5 again! Does anyone know if there’s a way to multiply a variable in a shader for HTML5/Android builds?