in VRPawn.h I included:
and in the constructor of VRPawn.cpp I am adding the component with DefaultSubobject.
However I get the error "Unrecognized type: USteamVRChaperoneComponent"
What am I doing wrong? I think it might have something to do with the SteamVR plugin and the project.build.cs file, but I can't figure it out.
Big thanks to jacksparow for the answer: In the projectName.build.cs file I needed to include the Module Names "SteamVR" and "SteamVRController". (Private or Public DependencyModuleNames both work and I don't really know the difference to be honest.) For example:
Also everywhere I am working with a class from those modules, I need to include the .h file. In this case:
answered Jun 24 '16 at 03:43 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here