Announcement

Collapse
No announcement yet.

UI elements are missing when I change Game State Class

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    UI elements are missing when I change Game State Class

    Hello, I've created a UI widget and there is not any problem when I set "Game State Class" as GameStateBase but if I change it to MyGameState (I've created this one), I can't see the UI elements on the screen.

    It is like that:

    Game State Class - GameStateBase: UI elements are visible; Print String data in my custom game state are invisible (obviously)
    Game State Class - MyGameState: Print String data in my custom game state are visible; UI elements are invisible

    By the way, I've created my UI widget and added it to Viewport in MyCharacter and not MyGameState.

    Since I'm new to Unreal, I have no idea how can I enable UI while using my custom Game State class.
    Last edited by ggGlc; 03-16-2020, 12:34 AM.
Working...
X