Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[0.6.7] Breaking change with Addressables.LoadAsset(IList<object>,...) overloads

Discussion in 'Addressables' started by MNNoxMortem, Mar 18, 2019.

  1. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    723
    Haven't looked into it much but this was caught via our unit tests. from 0.5.3 to 0.6.7
    Code (CSharp):
    1. Addressables.LoadAssets(keys.Cast<object>().ToList(), callback)
    is resolved as Addressabes.LoadAssets(object,...) and in 0.6.7 you need to specify the MergeMode to use the correct overload
    Code (CSharp):
    1. Addressables.LoadAssets(keys.Cast<object>().ToList(), callback,MergeMode.None)
    to resolve it as Addressabes.LoadAssets(IList<object>,...)

    Just wanted to share it, if someone has missed it. Can't remember this was in the release notes of 0.6.7 and haven't checked how the signatures of different overloads actually changed.
     
    Last edited: Mar 18, 2019