PointerEvent:hit() no longer works
`PointerEvent:hit()` in both scripted actions and nodes seems to no longer prevent propagation of the event to the nodes below, at least in the editor. I also printed the event id to see if I was possibly just not handling particular events but the id is always 0. This is a very troubling bug and is breaking a ton of our scripts.
I also tested to see if listeners that have been marked opaque block propagation: they do. We can't use that as a work around however as we have a fair amount of event handling logic that needs to conditionally run. It also would mean that we have to duplicate a lot of component setup that is otherwise handled completely by a single custom node.
I’ve attached a minimal reproduction. The setup is as follows:
`Layout` has listeners for every pointer event and invokes the `PrintEventIdAndMarkHitAction`. This marks the pointer event as hit and prints out the event id. `Layout 2` is partially behind `Layout` and invokes `PrintEventIdAndMarkHitAction2` which also prints the event id and marks the event as hit. Both actions are run when the cursor is over a region where `Layout` and `Layout 2` intersect. I also checked after I uploaded the above whether the order of the listeners in the state machine mattered and also tried several other permutations.
🫠
Additional update:
I have been able to also reproduce the problem from the Rive Unity runtime. Here is a link to a Unity project exhibiting the issue, as well as the associated .riv and .rev files for the reproduction https://github.com/ncthbrt/rive-pointer-events-bug-reproduction