In my project, I parse vector3 coordinate data to create building elements like walls and doors in the runtime. It works on Unity editor however the WebGL build doesn’t instantiate the objects. I was using a text file for the coordinate data thinking that might be the problem but the problem continues when the data is parsed through a string. At this point I don’t know what I’m missing, what might possibly cause this issue?
Are you sure your text file is being copied along with the build? Non code files have different build options that can be specified in the files properties in your IDE.
If thats the case it should be throwing an exception when it tries to read your file. Have you got logging in place?