Unity ui raycast target. So both the logs are printed.
Unity ui raycast target. Any click reaching that back layer has obviously missed hitting any other buttons, so now you can simply redo the click as a physics / physics2d raycast into the scene. I’m NOT raycasting from a mouse position, but rather based on a different game objects position (raycasting from a different rectTransform that lives within the same canvas). Code examples are included. Whether it’s something you’re doing or if it’s a bug in those packages/specific version of Unity doesn’t change where to post it TBH. So both the logs are printed. Is it possible to remove image component but mark this object as Raycast target? There are several ways to do it (some were already mentioned in other replies): remove graphics raycaster; use canvas group to disable raycast against whole group; deselect "raycast target" property on each UI element separately (TextMeshPro texts also have this, but you need to expand "Extra Settings" section). Has anyone else experienced this (or is anyone else able to replicate this . e. 2. Other issue are constant possibility of forgetting to switch them off, creates constant potential UI bugs invisible to the Unity game developer. rku9dl oq5jc1 orv egkrl glkljq csxhw ks2 fni y0o ggtqbi