- Home /
Web player problem - The content was stopped because a fatal content error has been detected.
After upgrading Unity to 5.0.0 or 5.0.1 (not sure when exactly the bug appeared), I get web player crash with error message "The content was stopped because a fatal content error has been detected". After some trials I found out that this crash is caused by the following string:
go.GetComponent<MeshRenderer>().material.mainTexture =
(Texture)Resources.Load ("myTextureInResourcesFolder");
I tried to replace the loaded texture with another one but this doesn't help. There are no problems with this string in editor, on iOS and Android devices, only in web unity plugin. Can anyone help me to solve this?
Your answer
Follow this Question
Related Questions
Assigning UV Map to model at runtime 0 Answers
My screen glitches for 1 frame whenever I change the Color.Lerp 1 Answer
Terrain Texture Glitch? 1 Answer
Soft edge shader - Issues when objects using same material overlap 0 Answers
What is causing these texture artifacts, seen on device since switching to Unity 5 1 Answer