Quantcast
Channel: Questions in topic: "il2cpp"
Viewing all articles
Browse latest Browse all 598

Physics.Raycast not working on il2cpp

$
0
0
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.

Viewing all articles
Browse latest Browse all 598

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>