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

Bug [Addressables][WebGL]Unity 2021.2.0f1 LoadAssetAsync doesn't work

Discussion in 'Addressables' started by vadimtihonyuk, Nov 1, 2021.

  1. vadimtihonyuk

    vadimtihonyuk

    Joined:
    Feb 26, 2018
    Posts:
    32
    Hi,

    I just hit I think with crucial bug on 2021.2
    Simple line cause huge exception on WebGL build.
    Code (CSharp):
    1. Addressables.InstantiateAsync("Cube.prefab");
    Build.loader.js:1 exception thrown: RuntimeError: null function or function signature mismatch,RuntimeError: null function or function signature mismatch

    I attached demo project, so everybody could try it out and also reported bug.
    But since bug report could take a while, I have to come here and ask, since it is very important for out project.
     

    Attached Files:

  2. vadimtihonyuk

    vadimtihonyuk

    Joined:
    Feb 26, 2018
    Posts:
    32
    Any help, bump!
     
  3. vadimtihonyuk

    vadimtihonyuk

    Joined:
    Feb 26, 2018
    Posts:
    32
    I would very appreciate if somebody can get project file and build and run to reproduce my issue, so this problem become more noticeable for unity dev team
     
  4. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,132
    Hi @vadimtihonyuk,

    Thanks for submitting a bug report for this issue. We'll look into it.

    For future references, when you write about an issue on the forum that you also reported via the bug reporter, please reference the issue ID. That makes it easier to connect the dots and follow up on it.
     
    tonialatalo likes this.
  5. vadimtihonyuk

    vadimtihonyuk

    Joined:
    Feb 26, 2018
    Posts:
    32
    Bug report id from FogBugz is 1377403
     
    Last edited by a moderator: Nov 2, 2021
    tonialatalo and LeonhardP like this.
  6. vadimtihonyuk

    vadimtihonyuk

    Joined:
    Feb 26, 2018
    Posts:
    32
  7. manuelgoellnitz

    manuelgoellnitz

    Joined:
    Feb 15, 2017
    Posts:
    397
    I run into the same issue. When building with "faster runtime" it works.
    Does it also appear when using the non async-methods?
     
  8. vadimtihonyuk

    vadimtihonyuk

    Joined:
    Feb 26, 2018
    Posts:
    32
    I guess so, but non async are deprecated
     
    manuelgoellnitz likes this.
  9. vadimtihonyuk

    vadimtihonyuk

    Joined:
    Feb 26, 2018
    Posts:
    32
  10. Johny_Boy

    Johny_Boy

    Joined:
    Jun 6, 2017
    Posts:
    29
    I have the same problem and it works in the editor, any news?