x


What things cause this message?The content was stopped because a...

What things cause this message?

The content was stopped because a fatal content error has been detected.

This is throwing me in two scenes that load as StreamPlayer, With the other if it is working correctly should look for things that can cause this fatal message ?

I feel like when you see the blue screen of the dead T_T

more ▼

asked Oct 11 '10 at 09:34 PM

Jorge Burnes Vela gravatar image

Jorge Burnes Vela
56 2 2 8

will accept any comments as to contribute something to tell me that may be doing wrong to someone else to happen?

was solved without doing anything or is it something specific or is about many things together?

something I could indicate where to start looking, do not ask for the solution, only the generic causes

Oct 11 '10 at 09:43 PM Jorge Burnes Vela
(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

i also have that problem, and don't know why... it seems happen uncertainly

more ▼

answered Dec 29 '11 at 04:19 AM

ialex32x gravatar image

ialex32x
16 3 3 5

(comments are locked)
10|3000 characters needed characters left

Just ran across this again today. We've seen it here a couple of times on the projects we've worked on. We believe it has either to do with how generics are broken in the version of mono that unity is using or the Component.GetComponent functions have a bug in them that randomly show their ugly head.

To fix this, in the code, go through all references to GetComponent, GetComponents, GetComponentInChildren, and GetComponentsInChildren and make sure they refer to the gameObject for these functions.

So rather than:

void TestBehaviourFunc()
{
    Renderer myRenderer = GetComponent<Renderer>();
}

you would use

void TestBehaviourFunc()
{
    Renderer myRenderer = gameObject.GetComponent<Renderer>();
}

If this doesn't work, I'd suggest looking for anything that might be nesting generics, where a class taking a generic parameter has a function taking a different generic parameter.

Example:

class TestGeneric<T>
{
    public TestFunc<G>()
    {
    }
}

should be

class TestGeneric<T>
{
    public TestFunc(Type secondType)
    {
    }
}

The second is a bit clunkier, but at least it doesn't crash the web player.

more ▼

answered Aug 21 '12 at 02:37 AM

KidNamedLox gravatar image

KidNamedLox
19 1 1 2

(comments are locked)
10|3000 characters needed characters left

On some browsers (eg. Chrome and IE) it is likely to cause a cache overflow. I had the same problem and converted 3000 lines of successive spaghetti code into several functions to make it running simultaneously. Now it also runs on Chrome and IE not causing the plugin crash.

For more information: http://forum.unity3d.com/threads/177077-Max-amount-of-variables-Crashing-Chrome-and-IE-running-in-Firefox

more ▼

answered Apr 08 at 08:28 AM

dice929 gravatar image

dice929
1

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x810
x716
x590
x381

asked: Oct 11 '10 at 09:34 PM

Seen: 2380 times

Last Updated: Apr 08 at 08:28 AM