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.
  2. Dismiss Notice

Update / Refresh Build Dialog

Discussion in 'Scripting' started by TharynV, Oct 24, 2018.

  1. TharynV

    TharynV

    Joined:
    Jul 13, 2017
    Posts:
    4
    After changing a Build Setting the property in the dialog does not update even after a restart of Unity. EditorUserBuildSettings.SetPlatformSettings("Lumin OS", "sdkPath", sdkPath); although the dialog does not reflect it. Debug.Log(EditorUserBuildSettings.GetPlatformSettings("Lumin", "sdkPath"));

    This returns correctly that the setting was changed, but there is no change to the dialog. How do I update for force a refresh of the Build Dialog?

    Thanks,
    Tharyn
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Do the settings persist if you manually set them then save and reopen the project?
     
  3. TharynV

    TharynV

    Joined:
    Jul 13, 2017
    Posts:
    4
    They appear to. If queried by C# you get the correct setting, but even after restarting Unity the Dialog never updates to the new settings.
     
  4. DrDecipher

    DrDecipher

    Joined:
    Dec 5, 2012
    Posts:
    54
    Bump...