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
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
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