Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug: WASM Release Builds without `--profiling` emcc parameter can't be tested using "Build and Run"

Discussion in 'Project Tiny' started by yossi_horowitz_artie, Jul 18, 2020.

  1. yossi_horowitz_artie

    yossi_horowitz_artie

    Joined:
    Jan 30, 2019
    Posts:
    87
    I filed a bug report for this but am reporting it here as well.

    If you remove `--profiling` from the `Emcc Cmd Line` field in the `Emscripten Settings` component in the `Wasm-Tiny3D` build configuration in the `Tiny3D` sample in the `ProjectTinySamples` repo, change the `Configuration` field in the `Dots Runtime Build Profile` component to `Release`, and hit the `Build and Run` button on the top-right of the Inspector, when the web page for the build appears in the browser, instead of a view of the 3D model, you see the HTML source in the browser itself.
     
  2. AbdulAlgharbi

    AbdulAlgharbi

    Unity Technologies

    Joined:
    Jul 27, 2018
    Posts:
    319
    Thanks for reporting this
    We have fixed it in Tiny 0.28