You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have been enjoying your plugin, thank for all your dev efforts!
We're able to change the configuration in our Project Settings to update the style and text of the overlay. We see those changes saved out to our DefaultAgoraViewportClient.ini file and checked into our repo. Everything works great when testing in Editor even when using the Play as Standalone option. However, when we deploy builds to Steam and devs run the builds on their machines, the first run works ok but in subsequent runs - all our settings are lost and it reverts to the default style and text settings for the plugin.
I found that when users run the build the first time, it creates an empty .ini at Saved/Windows/AgoraViewportClient.ini and it seems like the presence of this file causes the problem to appear. If I remove this file and re-run the game, it works the first time and again after this file appears it subsequently fails.
I decided to test moving the UAgoraViewportClientSettings config settings into Game (UCLASS(config = Game, defaultconfig)) and it seems to work now even on subsequent runs.
The text was updated successfully, but these errors were encountered:
@jeffason I'm sorry I totally missed this information. I will update it as soon as I get home.
@PiotrMoscicki Yeah there seems to be issue for Unreal to read custom ini files in packaged builds. I'll move it to DefaultGame.ini once I reach home and update on Unreal Marketplace.
@jeffason @PiotrMoscicki I've fixed this and pushed the change here in git and additionally added support for setting your custom font with more options. If you are using this plugin from git then please take the newest changes. If you have purchased it from Unreal Marketplace, please wait for a few days for the update as I have not submitted yet.
We have been enjoying your plugin, thank for all your dev efforts!
We're able to change the configuration in our Project Settings to update the style and text of the overlay. We see those changes saved out to our
DefaultAgoraViewportClient.ini
file and checked into our repo. Everything works great when testing in Editor even when using the Play as Standalone option. However, when we deploy builds to Steam and devs run the builds on their machines, the first run works ok but in subsequent runs - all our settings are lost and it reverts to the default style and text settings for the plugin.I found that when users run the build the first time, it creates an empty .ini at
Saved/Windows/AgoraViewportClient.ini
and it seems like the presence of this file causes the problem to appear. If I remove this file and re-run the game, it works the first time and again after this file appears it subsequently fails.I decided to test moving the UAgoraViewportClientSettings config settings into Game (
UCLASS(config = Game, defaultconfig)
) and it seems to work now even on subsequent runs.The text was updated successfully, but these errors were encountered: