Search Issue Tracker

In Progress

Fixed in 6000.0.11f1

Votes

0

Found in

6000.0.7f1

7000.0.0a1

Issue ID

UUM-74261

Regression

Yes

WebGL build is missing "malloc" and "free" functions when passing "-sERROR_ON_UNDEFINED_SYMBOLS=0" to emscriptenArgs

--

-

Reproduction steps:
1. Open the attached “WebGLMissingMethodRepro.zip” project
2. Open the “SampleScene” scene (Assets > Scenes)
3. Build and Run for the WebGL (File > Build and Run)
4. Observe the Player in the browser and turn on Developer Tools (press F12)

Expected result: No errors are thrown
Actual result: “missing function: malloc” and “missing function: free” errors are thrown in the browser’s Console

Reproducible with: 2023.2.0a18, 6000.0.7f1
Not reproducible with: 2021.3.39f1, 2022.3.34f1, 2023.2.0a17

Reproducible on: Windows 11
Not reproducible on: No other environment tested

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.