Search Unity

  1. We are looking for your feedback about Templates! Tell us about your experiences by taking our survey.
    Dismiss Notice
  2. Curious about what's going to be in 2021.1? Have a look at the 2021.1 beta blog post.
    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:
    19
    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:
    91
    MIME Type Settings?
     

    Attached Files:

  3. JimMakesGames

    JimMakesGames

    Joined:
    Nov 13, 2013
    Posts:
    19
    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:
    91
    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:
    19
    Marvellous! Thank you so much!
     
unityunity