Intermittent problem with onmousedown not firing

Wondering if this is a bug somewhere in onmousedown, in 4.1.0f4. In the latest version of our project onmousedown suddenly stopped working. Found a backup a version where it works, brought that project up to our latest code version, it continued to work. 30 mins later the same problem, onmousedown stops firing. Go back to the backup project that was working and onmousedown now does not work in that any more either.

Anybody else seeing this ? Any suggestions ?

I am also having the same problem in 4.1.2f1. My project worked fine in 4.0.1 until I updated.

The objects I have onmousedown events for are existing objects on a scene (not prefabs). I get no response whatsoever (not intermittent).

Please help!

Thank you

Hi, I am having same problem in 4.1.2f1. My project also worked perfectly fine in 4.0.1.

The objects with the collider and the mousedown script is not detecting my mouse click at all. I hope this can be solved as soon as possible.

Anyone know if 4.1.3 has resolved this issue?

Here is a trick that fixed my issue with mouse down events not being received by certain game objects:

Delete whatever camera object is used to view and event listen your game objects in question, then re-add it to the scene. For whatever reason, it worked for me.

I am using version 4.1.5f1.

Hope this helps!

So here I am in 2023, using version 2022.2.5 and your post from 2013 may have just saved my sanity. This worked for me, thank you.

2 Likes