DoN's 3D Pathfinding for Flying A.I. [Support Thread]

That variable feeds directly into Unreal’s Query Params for collision (FCollisionQueryParams) and that only supports ignoring actor and component instances rather than classes afaict.

The Unreal workflow is to setup suitable collision presets in your project settings (with new object types if necessary) and then assign those presets to your primitive components (or even mesh assets with the new default collision preset feature) as needed.