Raycasting against Static objects with added MeshCollider: Why doesn't this work?

I’m able to get back hit information from a raycast on a static gameobject that I dynamically add a MeshCollider to when making PC/Web builds. However when I make an iOS or Android build, this fails, and I’m not able to get any raycast information back even when a MeshCollider is added to the object. Why? I can’t find anything in the documentation that talks about specific differences between platforms in behavior in how the above works.

Any help appreciated.

Hello

have you checked the layers ?

Draw a line (debug) using the same Vector3 you use for your ray cast to ensure to point the right direction.

I hope this could help.

Sorry, solved the “problem”. Static batching checked. palm on face