Hello guys. I'm trying to build my game for webplayer and I have some problems.
First of all I communicate with an external server and after I added the crossdomain.xml file to it, the communication works. (I'm using the WWW class for the communication)
The problem is that the game doesn't work on the browsers (I did test on firefox and safari, knowing the problems with chrome and both in local and remote). This is what happens.
I load different scenes with these steps:
1. Loading Screen -> 2. Login Scene -> 3. Loading Screen -> 4. Level Selection Scene -> 5. Loading Screen -> 6. Level
When i select the level it should go to the step 5 and show the loading screen with the loading bar, but the game freezes completely in the level selection scene and I have to force quit the browser (The first time I tried I was in full screen and I had to force reboot the pc because it didn't seem to respond to anything)
Everything works perfectly in the editor even with the webplayer platform.
What could it be?
Also the game is 500mb (maybe it's a bit too much for the browser?)
Should I maybe consider trying webgl?
I hope you can explain me what's going on and help me find a solution,
Thanks a lot
↧