Skip to content

DefaultAgoraViewportClient.ini settings are lost in builds #1

@jeffason

Description

@jeffason

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions