Hi,
Ok, can you try the action GetRaycastHitInfoMaterial on the ecosystem, I just made it, let me know if it works for you.
- you need a meshCollider to raycast onto
- you need to reference a meshRenderer or a skinnedMeshRenderer.
If it doesn't work, can you send me a prefab of the object ( with mesh and material and meshcollider) you are trying to get material from?
Bye,
Jean