Get game state inside Editor Widget

Hi, thank you for your time and determination.

The get game state inside Editor Widget returns null so whatever cast I do it fails, using it as is also fails as it’s just null.

The get game state inside User Widget works perfectly, casting too.

I triple-checked the game mode selection but I don’t think it’s the problem (if it would, casting would fail but before casting get game state would not return null to begin with).

I start to think that it’s some Engine’s bug that prevents Editor Utility Widget from access game state (which normal User Widgets can).

I will do some more tests and if they all fail, I will prepare the step by step or package with minimal amount of dependencies that fails this way.

Once again thank you for support!