Page 1 of 1

GameMode as Data Context / Debug

Posted: 07 Feb 2025, 13:27
by Araziel
Hi,

In UE5, I want to set my GameMode as the Data Context. The bindings in the XAML are all correctly set, but unfortunately, no value with "w/ NotifyChanged" is being applied.
If I set the View itself as the Data Context and assign a test value there, it is applied correctly.

Is it normal to have issues with GameMode, or what is the correct workflow?

Thanks!

Re: GameMode as Data Context / Debug

Posted: 17 Feb 2025, 19:23
by sfernandez
Any UObject derived class should work as DataContext, so setting your GameMode should be fine.

How are you setting the GameMode as DataContext of the View (NoesisInstance)?