bCastHiddenShadow flag in UPrimitiveComponent doesn't affect ray tracing shadows
1. Create a new project and enable Ray Tracing
2. Create a empty level and add two meshes (A floor and a smaller cube on top of it)
3. Place a light near the meshes and make sure Cast Ray Tracing Shadows is enabled.
4. Select the eye next to the sphere in the world outlier to hide the object
Result - The hidden object is still casting a shadow
Expected - Hiding the object also removes the shadow
There's no existing public thread on this issue, so head over toAnswerHub just mention UE-101073 in the post.