I've completed the Space Shooter tutorial, so my C# code is identical to that of the tutorial (except I've replaced the GUIText-related code for new UI code).
The game runs as expected within Unity, but following the completion of lesson 17 ("Building the game"), it gives the error in the web player with a JavaScript Alert: "The content was stopped because a fatal content error has been detected". Error screenshot below. The background sound loop for the game DOES play, and continues to play after I close the Chrome tab (but ceases after I close Chrome entirely). For reference, I'm on OS X 10.9.5 and Chrome 39.0.2171.95.
My only clue as to what might be going on: In the very beginning of the tutorial, I checked/set the Build Settings, and noticed a scene mysteriously already there. I think it was titled "xx_scenes/Main.unity". It was grayed out, with its checkbox un-clickable. Since the checkbox was un-clicked, I ignored it when I eventually built the game for the web. After getting this error the first time, I deleted said scene from that list, but the error remains after rebuilding.
Other than that, perhaps my differing UI code is causing the error? That's the only other difference I can think of between my local environment and the tutorial. I'm not sure how to go about troubleshooting this error, as I have no familiarity with Javascript or the Unity web player, and the error doesn't show up in any tests within Unity.
![alt text][1]
[1]: /storage/temp/37327-screen+shot+2014-12-19+at+4.52.55+pm.png
↧