- Home /
Problems to build in WebGl
I can not build correct in WebGl because the scene is always without lights
Do you mean that your scene (in the Editor) is always without lights, or that your scene in Editor/testing works fine but when you build to WebGL it does not?
I send screenshots of the same scene in the editor and built for window
For window does not build correctly
I'm having problem build the inside of a house for WebGl, it always gives failure because it says that need more memory or need less memory
I'm working with Unity 5.4.0 and 5.5.0
I send screenshots of the same scene in the editor and built for window
For window does not build correctly
I'm having problem build the inside of a house for WebGl, it always gives failure because it says that need more memory or need less memory
I'm working with Unity 5.4.0 and 5.5.0
Answer by gamer_for_life · Dec 13, 2016 at 08:46 AM
@dosher Go to Publish settings of Web Gl built settings and try to increase Web GL Memory size.
I have already done it, I go up or down the memory according to Unity, but I can not build it
The housing file occupies 411mg
The bed file occupies 47 mg
In bed I do not $$anonymous$$d memory problems
Those sound excessive to the modern browsers. $$anonymous$$eeping the WebGL $$anonymous$$emory Size should be between 256$$anonymous$$B and 512$$anonymous$$B.
The house has 411$$anonymous$$B, less than 512 $$anonymous$$B
I have the window 10, it is possible that it creates problems with unity, because it gives me many problems, it is not the first time that the lights are deconfigured and I have to put them again
Why does the bed do not work?
@dosher : If you post something as an answer while it should have been published as a comment, I will reject it, you have been warned. It's the 5th comment you post as an answer.
The file is 411mb, less than 512mb
Why does the bed problem happen?
Your answer
![](https://koobas.hobune.stream/wayback/20220612102551im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
_malloc is not defined in Unity 2017 webGL Player 1 Answer
How to get the game data to the Web (webgl or webplayer) 1 Answer
Running one instance of webgl build at a time in a html page when loading webgl builds sequencially. 0 Answers
Error when trying to run webGL application in firefox or chrome 0 Answers
How to play local audio clips in webgl 0 Answers