Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Resolved All WebGL builds fail in Safari with the latest Alpha 17 "wasm: LinkError: Imported Table env:tabl"

Discussion in '2021.2 Beta' started by Bersaelor, Jun 3, 2021.

  1. Bersaelor

    Bersaelor

    Joined:
    Oct 8, 2016
    Posts:
    111
    So, we're developing a web app that makes use of the camera and therefore we are already forced to use the Unity alpha builds, as the previous version's camera access doesn't work on Safari.

    This was working fine, but with Alpha 17, all WebGL builds I make fail with the same error in Safari:

    Code (CSharp):
    1. failed to asynchronously prepare wasm: LinkError: Imported Table env:table 'maximum' is larger than the module's expected 'maximum'
    2. printErr — webgl-1.loader.js:1:6682
    3. (anonymous function) — webgl-1.framework.js.br:2:26947
    4. promiseReactionJob
    5. print — webgl-1.loader.js:1:6643
    Did anyone experience this yet?
    @jukka_j you are always so helpful, have you seen this error yet? It happens for me even with our minimal sample app: https://test.looc.io/forest/index.html.

    PS: Uploading a Unity bug report as I type this, just checking if there is a quicker fix.
     
  2. Bersaelor

    Bersaelor

    Joined:
    Oct 8, 2016
    Posts:
    111
    Sorry the report, this seems to have been a Caching-Issue. After using a different computers Safari it worked again. Thread can be closed.