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

Question .wasm file is too large. How can I reduce file size?

Discussion in 'Web' started by sihyung36, Feb 2, 2022.

  1. sihyung36

    sihyung36

    Joined:
    Jan 21, 2022
    Posts:
    3
    Hi

    I am working on 2D Game project with WebGL Platform.
    Problem is [project name].wasm file is too large... 40mb
    It is too large to run on low powered devices (like TV)
    So I want to reduce file size.

    What shall I do for this?
    What does .wasm file has inside?
    How can I look into inside?
    While .data file has resources like image and music and prefabs and etc, Does .wasm has script code?

    Thanks
     
  2. roused2

    roused2

    Joined:
    Apr 13, 2022
    Posts:
    1
    Did you manage to sort this as I have the same request.
     
    abhishek_gokal likes this.
  3. abhishek_gokal

    abhishek_gokal

    Joined:
    Sep 16, 2022
    Posts:
    1
  4. KamilCSPS

    KamilCSPS

    Joined:
    May 21, 2020
    Posts:
    444
    Use compression.