Search Unity

Question SyncConfigurationAsync can't be found?

Discussion in 'Economy' started by TheKingNuro, Mar 11, 2023.

  1. TheKingNuro

    TheKingNuro

    Joined:
    Nov 13, 2021
    Posts:
    5
    Hi,

    For some reason SyncConfigurationAsync can't be found? As far as I read in the documantation I need to call it first before I can do any other calls?
     
  2. RandolfKlemola

    RandolfKlemola

    Unity Technologies

    Joined:
    May 1, 2020
    Posts:
    130
    Hi TheKingNuro,

    Thanks for reaching out! Is your SyncConfigurationAsync within an async method? For example:

    Code (CSharp):
    1.     async Task StartAsync()
    2.     {
    3.         await EconomyService.Instance.Configuration.SyncConfigurationAsync();
    4.     }
    Randy