Procedural Geometry doesn't collide..

I must be missing something simple. This mesh is for a section of terrain and rigidbodies and raycasts just pass right through. How do I make this procedurally created mesh collide with stuff. (Yes, I am creating some of these with “addCollider” set to true.)

*EDIT: Whoa, what’s going on with all the weird charachters when I paste code? It’s freaking about tabs or something. Here’s my code on pastebin.

Take a look at that, particularly the first and second hint.