Can I use the ray-casting functionality from another thread?

This question is somehow similar to this one however its answer is less obvious and I can't find any help on the forum. Since ray-casting (or line-casting) is a read-only operation, is it possible to perform it from a parallel thread? I know for sure that is possible in release, however debugging is very difficult this way.

Thank you

Even though it may be "read-only", you usually can't access any parts of the Unity API from other threads than the main thread. This includes simple getters (even Application.platform will throw an exception).