Cast doubts

The are multiple ways to do it, but the easiest way is to to make the actor set the reference in the gamemode to itself:

In the actor:
image

In the gamemode:

If you have multiple actors, you would use an array instead:

In the actor:
image

In the gamemode: