I’m having trouble with my latest WebGL builds. The App I have built is a calculator and what happens is, I have certain Image objects and numbers appear within a scrollable list when the users selects particular options, or inputs different values etc, and I have these objects disabled by default at the start until one of the requirements to enable are met. This is working perfectly fine in the Unity editor game view etc, but as soon as I build it to WebGL, the disabled items never enable when the requirement is met.
I have built this out for Windows and it works fine for this particular feature, which leads me to believe its a WebGL issue…
Does anyone know what could be causing this, or if there may be a work around? I can’t use animations to hide the objects because the objects are within a scrollable list.
Thanks!
I did not understand well the problem; looks like there is no much information here, but in general, i try to isolate the problem.
First Welcome to this community! I’m a Unity user.
- Update Unity to the latest final and try if it works.
- Make a copy of the project. And use the copy for the debug.
- Take out all the “Game Objects” that are working well.
- Until you find out what is one or 2 game object that in the combination do not let you compile the WebGL.
- Now take out the component that is working until you get the component that is triggering the problem.
- Now you can debug the line of your code that is not working!
- Or If is a Unity component search for the error and solution in Unity forum and Issue Tracker.
- If there is no info then update Unity to the latest beta and try it there.
- If did not work, then submit the error using the Unity editor tool for that.
- Knowing where is the source of the problem, let you explore for alternatives.
I’m sorry that is a general answer but works well in most cases.