Why can't I select an actor from my scene?

Hello ,

I am adding the component to a subclass of AGameMode. I am not creating the directional light through c++, I am adding it to my level through the editor. I need to access it from my custom game mode to make a day-night cycle.