Collision Of Ball with Walls

I am following your Roll-A-Ball tutorials, in video -5 (Setting up the Play Area). In video it is shown that collision is occuring on its own, but when i di the same thing then ball does not collide with the walls it passes throught the wall.
I want to know how can i solve that collision problem. By taking walls as rigid components or by applying some sort of script to detect collision.
Thank You
Archit Goyal

Make sure the wall has a collider on it (if it does, try readding the collider). Also make sure your ball has a non kinematic rigidbody, as well as not having its position constrained.

It might he possible that you are rolling the ball very fast, in that case, set the balls rigidbody collision detection to continuous dynamic.

You might also be doing your movement code in update and not FixedUpdate. If so, move your code to FixedUpdate.