Prafab physics problem

I have a problem with a prefab i made.It’s a basic box with textures,but when i add Rigidbody to it it simply goes trouth all objects in the game and I have no idea how to fix it.Can anyone help me?

Hi, welcome to the forum!

How are you moving the rigidbody? If you are updating the position from code with transform.Translate then the physics system doesn’t have any way to react to the movement and register collisions. You need to move the object with forces (applied with rigidbody.AddForce and its relatives). If this still doesn’t solve the problem, check that the objects in the scene (and the rigidbody object) all have collider components.