I wanted to use IL2CPP in my application to make it more performant and also harder to decompile, but whenever I compiled my game using IL2CPP, some scripts are not functining properly (Mainly ones involved in raycasting and copying components from one gameobject to another). I believe it has something to do with AOT compilation, the LOW Managed Code Stripping and or that some of my script's components are obtained via the scripts. If you have a better understanding of how IL2CPP works, please let me know what could have possibly caused this to happen.
↧