- Home /
Physics.Raycast not working on il2cpp
Hi,
I have code:-
if (Physics.Raycast(cam.ScreenPointToRay(touch.position), out hit, Mathf.Infinity, paintLayerMask))
{ //some code`}
where Physics.Raycast detects a collision on scripting backend Mono but not work with Il2cpp with no errors.
Please help and TIA.
Comment