Download

PolyglotTextData not updating cachedText after change

Hello all, this is my first post hopefully you guys can help me out with this.

To give you a bit of context, I’m working on a project in which you can load and save certain data in editor and runtime. This includes localized content as well (FText fields).

PolyglotTextData seemed like the way to easily load and save FText fields in my custom format.

The main issue is that GetText returns an empty FText whenever we update the text value (we change the native string at the moment).
We need to restart the editor to apply the changes, even though FTextLocalizationManager::RegisterPolyglotTextData is called after the change.