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

WASM BUILD - Limit build size as a single html file

Discussion in 'Project Tiny' started by Rangerz132, May 25, 2022.

  1. Rangerz132

    Rangerz132

    Joined:
    Feb 3, 2019
    Posts:
    38
    Hello world,

    Is there any limit size a build can be for WASM? The build seems to be correctly generated but when I click on the html file, an error occured in the console but it does not say anything specific. I wanted to know if the size of the build might cause this issue... I have a lot of sprites due to the missing texture sheet feature..

    Take note that when I build for Dot-Net, I have no issue.

    Thanks!
     
  2. GilCat

    GilCat

    Joined:
    Sep 21, 2013
    Posts:
    676
    No log errors in the browser?
     
  3. Rangerz132

    Rangerz132

    Joined:
    Feb 3, 2019
    Posts:
    38
    Yeah! The error message was : Memory access out of bound. It wasn't saying something more.

    However, I finally managed to find the issue. I refresh the scripts, reimport them all and restart my PC. It seems a bit overkill but it is the only solution I found. It looks like the scripts weren't updating correctly even if I saw them updating.
     
    GilCat likes this.