Physics queries: GameObject layers#

Check the layers of the gameObjects with colliders you are expecting to hit.

Expanded GameObject layer dropdown

GameObject layer dropdown

If you want to hit these objects they must be present in the layer mask you are using in your query.

I am still having problems with my query: