Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question WebGL BuildFolder lacks two files

Discussion in 'Web' started by braindamageddonkey, Nov 8, 2023.

  1. braindamageddonkey

    braindamageddonkey

    Joined:
    Nov 8, 2023
    Posts:
    2
    I try to package my project and Console send no error but I discover the build folder lacks .framework and .wasm files.
    When I put it on Server ,it Error and message is Unable to parse Build/WebGLPack.framework.js.unityweb! The file is corrupt, or compression was misconfigured? (check Content-Encoding HTTP Response Header on web server)
    I wonder if my project is too big to generate these files or other question :(. it really confused me
     
  2. braindamageddonkey

    braindamageddonkey

    Joined:
    Nov 8, 2023
    Posts:
    2
    My unity is unity2021.3.11f1
    And I try every method I can serach on the internet including changing the Compression Format or adding Decompression Fallback.The file is not occur.
     
  3. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    5,078
    Any errors in the console? Also check editor.log after a build.