What is this?

I made my first project - simple platformer on Unity.

At the editor all’s good, but when i try to load application (using WebPlayer or exe builer)… omg… I don’t now what to say about this. So, look at the gif. (and yeah, i am from ukraine, so some folders on my desktop is on ukrainian).

What I must to do? Please, guice, help me!

I am using Unity 5.3.1p1

Did you try changing the game view size in the editor? Possibly you made it so it only works properly at a specific resolution.

–Eric

Yes. I have already found a mistake.

For each platform i create Rigidbody2D and PolygonCollider in script, like this:

gameObject.addComponent();
gameObject.addComponent();

When i make collider manually all works.

that could be the answer.

These are the steps:
public void Start(){
// Set Camera Resolution
// Get GameObject
// add Components to GameObject
// Maybe rearrange Position and Size of Rigidbody
// Positionate GameObject
}

I am still new to unity, so it could be that you have to positionate the “rigbody” to the same position like the GameObject and arrange the sizees of the rigbody to the gameobject you attache it to. normaly something the Editor does on default.