Collider and Rigidbody Problem

Hi guys!

I’m in trouble creating a simple 2D game. I have a gameobject which consists of a

  • Rect Transform,
  • Sprite Renderer,
  • Rigidbody 2D
  • and a Circle Collider 2D

component.

After adding the Circle Collider, my gameobject increases now its y-position instead of decreasing it.
Why does that happen?

I think the problem is your gravity scale.
In your case it would be some negative value so it is going upward.
Set it to 1 and it should work
For me it is working perfect
And also if you are not working on UI stuff use normal transform instead of Rect transform.