- Home /
A texture fades out to become the color of the skybox, and lags when instansiating.
Unity is great, and I made an ok game with it. In the editor, everything runs fine, the texture stays consistent, but when I export it to WebGL, on chrome, the texture fades out. Is it just a chrome problem? I tried on safari and edge, and it worked. My other problem (same game) when you get to 10000, I instansiate an object that has a z of 10000. How do I stop this from lagging the whole game. It kind of makes the game unplayable. But this time, it lags in the editor too. I'm pretty sure it's not a code, problem, but if you need code, just ask. Otherwise, here is the webgl build. Sometimes, for other computers it works. One small last one, if you die, sometimes the game returns some asm.js and framework errors. Only on some computers, sometimes. It seems to happen when Invoking. It will probably not happen to you, but I just want to know what to do if it happens again. If it does work for you, why do the panels become so large? In the gameover screen, the panel, which again looks fine in one size, and I'm not resizing it, it still makes it large. Thank you for your time, and sorry if I put too much in one question.
Your answer
![](https://koobas.hobune.stream/wayback/20220612203656im_/https://answers.unity.com/themes/thub/images/avi.jpg)