Version: 2023.1
LanguageEnglish
  • C#

RemoteSettings.Updated

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Dispatched when a remote settings configuration is fetched and successfully parsed from the server or from local cache.

Updated is always dispatched unless the computer or device has no Internet connection or cannot communicate with the Analytics Service, and no local, cached version of the remote settings file exists. This situation can occur when a player has no network connection the first time they run your game). In this situation, the RemoteSettings object does not dispatch an Updated event, and so does not update your game variables.

Requesting the remote settings configuration over the network is an asynchronous process that might not complete before your initial Scene has finished loading, or might not complete at all, so you should always initialize your game variables to reasonable defaults.