UnityEvent to turn off a collider doesn't work

When I click on an object, i want to turn off its collider so that I could click objects inside it without triggering it. This gets ignored

Original Post on Discord

by user 263967078346653697

You can visualize colliders with ?showcolliders in the browser (add it to the url)

ooooooo

by user 263967078346653697

nice

by user 263967078346653697

There’s a ton of parameters. You can use ?help to log all in the browser console

okay so

by user 263967078346653697

visually it gets turned off

by user 263967078346653697

the collider

by user 263967078346653697

but when i click in that space

by user 263967078346653697

it still gets a click

by user 263967078346653697

oh wait no

by user 263967078346653697

i see how it is

by user 263967078346653697

i click on children collider

by user 263967078346653697

and it passes as a click on the parent object

by user 263967078346653697

If it’s visually off then its off :slightly_smiling_face: its the debug data we get from the physics engine

okay its very weird

by user 263967078346653697

i tried to separate the collider as another object

by user 263967078346653697

but it doesnt get any clicks

by user 263967078346653697

Bugreport-ZenTerminal_1-230417-032802_uw.zip

by user 263967078346653697

okay um this has to be a bug

by user 263967078346653697