Search Unity

UWP builds. Addressable use "Unknown" platform as folder name in StreamingAssets.

Discussion in 'Addressables' started by androshchuk-vladyslav, Sep 18, 2019.

  1. androshchuk-vladyslav

    androshchuk-vladyslav

    Joined:
    Dec 13, 2015
    Posts:
    127
    Hi, when building UWP build, Addressables copy initialization files (settings, link, catalog) to "Unknown" folder.
     
  2. androshchuk-vladyslav

    androshchuk-vladyslav

    Joined:
    Dec 13, 2015
    Posts:
    127
    Hmmm:

    Code (CSharp):
    1. private static readonly Dictionary<RuntimePlatform, AddressablesPlatform> s_RuntimeTargetMapping =
    2.             new Dictionary<RuntimePlatform, AddressablesPlatform>()
    3.             {
    4.                 {RuntimePlatform.XboxOne, AddressablesPlatform.XboxOne},
    5.                 {RuntimePlatform.Switch, AddressablesPlatform.Switch},
    6.                 {RuntimePlatform.PS4, AddressablesPlatform.PS4},
    7.                 {RuntimePlatform.IPhonePlayer, AddressablesPlatform.iOS},
    8.                 {RuntimePlatform.Android, AddressablesPlatform.Android},
    9.                 {RuntimePlatform.WebGLPlayer, AddressablesPlatform.WebGL},
    10.                 {RuntimePlatform.WindowsPlayer, AddressablesPlatform.Windows},
    11.                 {RuntimePlatform.OSXPlayer, AddressablesPlatform.OSX},
    12.                 {RuntimePlatform.LinuxPlayer, AddressablesPlatform.Linux},
    13.                  {RuntimePlatform.WindowsEditor, AddressablesPlatform.Windows},
    14.                  {RuntimePlatform.OSXEditor, AddressablesPlatform.OSX},
    15.                  {RuntimePlatform.LinuxEditor, AddressablesPlatform.Linux},
    16.             };
     
  3. androshchuk-vladyslav

    androshchuk-vladyslav

    Joined:
    Dec 13, 2015
    Posts:
    127
    Also I can't Init on UWP