i am getting a stupid error i can’t create instanced staticmesh components becauseit keeps on saying it’s undefined i even tried including the InstancedStaticMeshComponent.h header file but it keeps on giving this error and its realy annoying me can some one please post the correct way of setting up and using InstancedStaticMeshComponent in an actor in c++ i might be making a stupid mistake i am not aware of
`// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
class ANewGameMode : public AGameMode
UInstancedStaticMeshComponent * StupidError;
NewGameMode(const FObjectInitializer& ObjectInitializer);