Why you can easily access .h

Import paths should always start after the Classes or Public folder. So you should be using “Components/SphereComponent.h” and not the full path starting from “/Runtime”.

For more details on modules and header import paths you can check out this UE4 Modules presentation: UE4 Modules - YouTube