Sorry, I don’t have any insight specifically to tree colliders working 80% of the time on terrains.
Please look at this page for how to post code nicely on the forums: Using code tags properly
Also, I would suggest that you avoid using SendMessage / SendMessageUpwards and get (and cache) the realated component(s) you want to call.