How to select an actor in-game using GetHitProxy?

I’m on 4.25.1 and I get a crash when I try to call GetHitProxy at runtime slightly different error, fails on Check(ColorRT) in a method inside RHIResources.h.