Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2021.2.X

Votes

7

Found in

2021.2

2022.1

Issue ID

1378286

Regression

Yes

[WebGL ]WebGL builds fail if external debug symbols option is used.

Web Platform

-

Steps to reproduce:
1. Open default project in Editor
2. Switch platform to "WebGL".
3. Open "Build Settings" and disable "Development Build".
4. Open "Player Settings\Publishing Settings" and set "Debug Symbols" to "External".
5. Click on "Build".

Expected behavior:
The project is build with external debug symbols.

Actual behaviour:
The project fails to build with following error:
Building Library/Bee/artifacts/WebGL/build/debug_WebGL_wasm/build.js.symbols.json failed with output:
/Users/marcelpursche/projects/unity/build/WebGLSupport/BuildTools/Demangle.js:7

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.2.0a7

Comments (2)

  1. wechat_os_Qy0wnpLZJ93DKNmc4ViovaSfg

    Dec 12, 2023 04:25

    I fix modified by demangle.js
    var symbol_text = fs.readFileSync(process.argv[2], "utf8");
    symbol_text = symbol_text.replace(/\\/g,"\\u00");
    var symbols = JSON.parse(symbol_text);

  2. OceanX000

    Dec 04, 2021 14:49

    When can it be fixed, it greatly affects our game release settings. thanks~

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.