The trick to getting good height map bakes is setting up the min and max values. These represent the min and maximum distance from the low poly, in scene units. Generally, if you're getting a flat gray bake, that means these values are too high, so try setting them to low values like 0.1 or 0.01, and adjust the settings…