Search Unity

OnMouseDown Stops working in mobile build when Scripting backend is converted to IL2CPP

Discussion in 'Getting Started' started by aqsanadeem82, Nov 29, 2019.

  1. aqsanadeem82

    aqsanadeem82

    Joined:
    Sep 15, 2018
    Posts:
    76
    Whenever i change Scripting Back end from Mono to IL2CPP My Game build doesn't respond to OnMouseDown Events it works fine when build with Mono. I have tried many things but nothing seems to work.
    I Also get this warning : Game scripts or other custom code contains OnMouse_ event handlers. Presence of such handlers might impact performance on handheld devices.