Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug [3.1.3] FetchCompleted API is buggy

Discussion in 'Unity Remote Config' started by optimise, Jul 22, 2022.

  1. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    1,581
    RemoteConfigService.Instance.FetchCompleted is kind of buggy that will block other operation from running properly. For my case it will make Addressables failed to instantiate game object properly when both are running at the same time. From what observed, it's caused by the API is not implemented running at main thread only and there's a one second Task delay. This API needs to be changed to main thread only solve a lot of similar issues caused by this remote config API since at Unity Monobehaviour environment is main thread. At a couple of previous preview version, it's working perfectly until a version that starting to behavior like that. I believe it's the version of remote config starts to use non-main thread API.
     
    Last edited: Jul 22, 2022