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. We have updated the language to the Editor Terms based on feedback from our employees and community. 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:
    110
    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:
    110
    Sorry the report, this seems to have been a Caching-Issue. After using a different computers Safari it worked again. Thread can be closed.