WebGL on Chrome and Firefox

Hey guys,

Recently I had an issue with my WebGL builds not running very well in chrome, it was crashing out, closing down the browser and the framerate was generally poor.

I then started making tons of optimisations, stripping my game and was still puzzled that it kept crashing and running generally bad.

I played it on Firefox and it ran very smooth, frame rate was good and there were no issues.

so it got me thinking, perhaps it’s a chrome thing, for some reason or another, it just doesn’t like WebGL very much.

Then I decided to host it from my private server onto my dropbox and test using the public link on that.

It was running exactly as it should on Chrome and on Firefox.

So just a word out there to you guys, if it’s not performing well check the server you’re hosting your game on, try it on Dropbox, it plays a big impact on the running performance on your game.

Thanks

I thought that Google Chrome doesn’t support WebGL. I have the latest Chrome on my Mac and when I try to load a WebGL page, Chrome tells me: “You need a browser which supports WebGL to run this content. Try installing Firefox.”

From my experience, Asthenia, unity 5.1.3 is the best tool for building webgl game which isn’t crashing on Chrome. Give a try, it should work :slight_smile:

Additionally, i’ve heard that your server must be adjusted so it could show webgl games, however by saying you that the game runs good on Mozilla, i think you are pretty safe. Strange to hear that the game hosted on dropbox performed better on Chrome compared when it was hosted on your end, if I understood good?