Why are Actors not showing up in the viewport but are in the scene outliner?

Same problem.

It was appearing only during PLAY. And the outliner was showing it and it was not with the “eye” closed.

I solved it by checking and unchecking the"hidden in game" option under rendering.