Mass ai Cannot open include file: 'MassEntityTraitBase.h': No such file or directory

I’m using the plugins for mass AI, mass crowd, mass entity, etc.

however, when I try to make a class that inherits from massentitytrait base i get the error: Cannot open include file: ‘MassEntityTraitBase.h’: No such file or directory

i’ve tried making a new project, but still get the same error. by the way, i’m adding it to a plugin, so i don’t know if that may be the cause.

Did you add the module “MassSpawner” to your build file?

PublicDependencyModuleNames.AddRange(new string[] { "Core", ....."MassSpawner" });

Check the documentation where it states what include is needed and what module it resides in.