Search Issue Tracker
Fixed
Fixed in 6000.0.11f1, 7000.0.0a1
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
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
sanninosperanza
Nov 04, 2025 12:17
Hello, I receive the same error in 6000.1.17f1 e 6000.2.6f2. Can you help me to solve the problem? Thank you in advance