You need to include more detail, as you're probably just missing a setting or something.
The way I'd go about it is simple, just have two raycasts, one for each side of the player hitbox's bottom. If they're both intersecting an object then the player is on solid ground, if only one of them is then the player is not.
Check the collision layers and collision masks to make sure they're set up correctly. There's not much people can do to help you without any info, i.e. your code.