How can I add an actor to a property in a blueprint in compile time?

I want to add the TriggerVolume actor to my property.But I can’t I don’t know why?

The blueprint is a gamemode class.The playerteleporter is a component.

You won’t be able to directly pick a reference to an actor placed in the level, inside the Game Mode. The only class that can store placed in Level actors is the LevelBlueprint

You can add a Tag to your Trigger Volume and, inside the Game Mode class, use the node “Get All Actors of Class”, a for loop, get the Actor Tags and compare with the tag you are searching.

This is an expensive operation if you have lots of actors that shares the same class in the level, so be aware not to overuse it