I have recently switched scripting backend from Mono to IL2CPP to be able to tick the ARM64 box to meet Google play store’s rules. If I use this method, the build is successful and Google doesn’t block the application anymore which is great. However, some parts of my scripts don’t seem to be working as usual. The most obvious one I have identified is the function Physics.Raycast() which always returns false where it returns true on a Mono build.
So I only see two solutions here:
Manage to build with Mono scripting backend with a 64bit support
OR Manage to make the raycast work with IL2CPP
To be fair it seems really weird to me that the scripting backend mode changes the behaviour of my scripts so maybe there’s something I’m missing.
I’m happy to provide extra info, parts of code, etc if necessary.
I’m not familiar with the behavior of Phsyics.Raycast(), but I don’t believe that it should behave differently with IL2CPP. Can you submit a bug report?