Linker Errors Trying to Extend UBoxComponent

You have to add “RHI” to PublicDependencyModuleNames in the Myprojectname.Build.cs file.