UInstancedStaticMeshComponent* Not a recognized type?

Hello,

In my project I’ve been trying to add an instanced static mesh to an APawn in its constructor. Unfortunately, despite having declared the UStaticMeshComponent* in the header file, compiling fails as the engine asks, “Did you mean UStaticMeshComponent?”

Has something changed and now instanced static meshes can no longer be created in the constructor?

Any advice would be appreciated.

Cheers.

#include “Components/InstancedStaticMeshComponent.h”

Advice: Learn some C++ essentials :stuck_out_tongue_winking_eye:

Thanks for the help and the advice. I’m doing my best!