- Home /
Instantiate Prefab Problem
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?
Answer by sacredgeometry · Dec 28, 2020 at 07:07 PM
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?
Your answer
Follow this Question
Related Questions
Instantiate object 1 Answer
Instantiate and edit a text box during runtime 1 Answer
How to open a Webgl unity game from a different html page? 1 Answer
How to instantiate a Prefab ? 2 Answers
i cant use wepGL in unity 0 Answers