Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 462.31
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-05-03 23:07, hash: rBe6bf272abd92
Worked: don't know
Short description of error
Ambient occlusion node doesn't apply to beveled edges. As you can see on the picture below, the bevel is just white and the surrounding dark. I've tested in cycles and eevee - both the same issue.
edit: I've tested a bit with the math node and i got a good result yet now i can't get rid of those thin lines around the bevel on the out edges
Exact steps for others to reproduce the error
Use the bevel modifier (or create a bevel on an object/mesh via edit mode) and use the ambient occlusion node + color ramp to create a mask for inner edges. The AO node doesn't work on the bevel.