Search Issue Tracker
Fixed
Fixed in 6000.0.11f1, 7000.0.0a1
Votes
0
Found in
6000.0.7f1
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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