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

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