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 of TinyTime example doesn't seem to render properly

Discussion in 'Project Tiny' started by JimMakesGames, Feb 16, 2021.

  1. JimMakesGames

    JimMakesGames

    Joined:
    Nov 13, 2013
    Posts:
    21
    Hi there, I'm just getting started with Unity Tiny and I've tried building the Tiny Time project with the wasm build configuration. It seems to work fine when I do "build and run", but when I just do a build and upload that to my website it doesn't fully render. The balloon and flag are white and the text doesn't appear, although there seems to be one frame where some black rectangles appear in their place. Any ideas why this may be happening or how to resolve it? Thank you.

    Here's the link to the build I uploaded if that helps:
    https://jimmakesgames.com/tinytime/TinyTime.html
     
  2. gtk2k

    gtk2k

    Joined:
    Aug 13, 2014
    Posts:
    288
    MIME Type Settings?
     

    Attached Files:

  3. JimMakesGames

    JimMakesGames

    Joined:
    Nov 13, 2013
    Posts:
    21
    I had no idea what MIME types were (not very experiened with web stuff), but I think I found where I need to make changes. This is something I need to specify on my web server correct? I'm just not sure what I need to change.
     
  4. gtk2k

    gtk2k

    Joined:
    Aug 13, 2014
    Posts:
    288
    Build with a Single HTML File, upload the built HTML file and give it a try.
    Wasm Build Settings -> Add Component -> Unity.Build.Web.DotsRuntime > Wasm Output Settings
    WasmSetting0.png WasmSetting1.png WasmSetting2.png WasmSetting3.png
     
    Last edited: Feb 19, 2021
  5. JimMakesGames

    JimMakesGames

    Joined:
    Nov 13, 2013
    Posts:
    21
    Marvellous! Thank you so much!
     
  6. Ramazoid

    Ramazoid

    Joined:
    Mar 11, 2014
    Posts:
    8
    where i can get this wasm???????????????
     
    mrprincejagani likes this.
  7. mrprincejagani

    mrprincejagani

    Joined:
    May 22, 2021
    Posts:
    2
    I want to ask same thing where we can locate this wasm config file