Search Issue Tracker

Fixed in 2020.1

Fixed in 2019.2, 2019.3

Votes

6

Found in

2019.1.0b5

2019.1.5f1

2019.2.0a6

2019.3.0a1

Issue ID

1161712

Regression

Yes

[WebGL] Building fails with Emscripten's Python failure

WebGL

-

To reproduce:
1) Open the attached project
2) Build it for WebGL

It fails with the following error: Failed running "E:\Stale Unities\2019.1\2019.1.0f2_f38a641b93e7\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\python.exe" -E "E:\Stale Unities\2019.1\2019.1.0f2_f38a641b93e7\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc" @"E:\Downloads\case_1161712-Snail_Paradise\Assets\..\Temp\emcc_arguments.resp"

stdout:
stderr:warning: unexpected number of arguments 1 in call to '__cxa_pure_virtual', should be 0warning: unexpected number of arguments 2 in call to '_ZN6il2cpp6icalls8mscorlib6System6String22RedirectToCreateStringEv' <..>

Not reproduced in 2019.2.0a3, 2019.1.0b4, 2018.4.2f1
Reproduced in 2019.2.0a6, 2019.1.0b5, 2019.3.0a6

  1. Response avatar

    Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0a17, 2019.3.0f1, 2019.2.15f1

Comments (5)

  1. C1637eb56e4f113d9c489fbe82417e72?d=mm

    aklyuchev

    Nov 21, 2019 14:49

    i don't use PlayFab SDK
    but have similar issue on unity 2019.2.12f1

  2. 7cc0501dcfb253637f5643d25fb24cef?d=mm

    jukka_j

    Oct 05, 2019 08:17

    This bug report does not reference PlayFab SDK, but based on https://forum.unity.com/threads/webgl-broken-on-2019-x.753347/ and https://community.playfab.com/questions/33353/playfab-unity-2019-webgl-with-development-build.html, I assume this bug report is about the detected breakage with respect to PlayFab SDK.

    A proper fix is being worked on. Meanwhile, when this error occurs with respect to using the PlayFab SDK, there is a potential workaround that one can add an Editor script to the build that executes

    PlayerSettings.WebGL.emscriptenArgs = "-s ERROR_ON_UNDEFINED_SYMBOLS=0";

    before running the build.

    If your project is not using the PlayFab SDK, and you are receiving an Emscripten python failure, please open a different bug report, since the root cause is definitely something else. (receiving a python error from Emscripten is a general "compiler aborted" message, that does not yet identify the actual cause of the abort)

  3. 9af654637311c8344627683330cefc49?d=mm

    goldbug

    Sep 30, 2019 18:07

    It has been 3 months, this particular bug causes playfab webgl not to work on 2019.2.x

    Can we get an update please? Why such large lead time?

  4. 992e0cf77598d457a5d83c6ab241b991?d=mm

    toddbellMSFT

    Sep 25, 2019 23:04

    Reproduced in 2019.2.6f1

  5. 7232d6eecf960548402252f672ec5dea?d=mm

    irfan_qvady

    Jul 18, 2019 07:49

    Reproduced in 2019.1.1f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.