Search Issue Tracker
Third Party Issue
Votes
0
Found in
2022.2
2022.2.0a13
Issue ID
1426972
Regression
No
[WebPlatform][iOS] App crashes with Development Build when is ran through http-server
How to reproduce:
1. Create a new Unity Project
2. Select WebGL platform
3. Enable "Development Build" in Build Settings
4. Build the project
5. Navigate to the build folder through the terminal e.g., cd /Users/username/unity_project/Build
6. Start a webserver with: http-server --port 8080
7. The webserver should show the address with the local IP of your Mac on the console, e.g., http://192.168.0.191:8080
8. Open this address on iOS device that is connected to the same network
9. Observe app
Expected result: App is launched
Actual result: App crashes with error "abort("Runtime error: The application has corrupted its heap memory area (address zero)!") at jsStackTrace"
Reproducible: 2022.2.0a13
Reproducible on:
iPhone 13 Pro, A15, 15.4.1 (Chrome, Safari)
Not reproducible:
Samsung Galaxy S21 Ultra
MacBook Pro (16-inch, 2021), 12.0 OS version
Full error:
abort("Runtime error: The application has corrupted its heap memory area (address zero)!") at jsStackTrace@http://192.168.166.80:8080/Build/DevBuild.framework.js:1259:23
stackTrace@http://192.168.166.80:8080/Build/DevBuild.framework.js:1280:23
abort@http://192.168.166.80:8080/Build/DevBuild.framework.js:32:54
checkStackCookie@http://192.168.166.80:8080/Build/DevBuild.framework.js:841:37
postRun@http://192.168.166.80:8080/Build/DevBuild.framework.js:897:18
doRun@http://192.168.166.80:8080/Build/DevBuild.framework.js:15489:10
run@http://192.168.166.80:8080/Build/DevBuild.framework.js:15500:8
runCaller@http://192.168.166.80:8080/Build/DevBuild.framework.js:15428:21
removeRunDependency@http://192.168.166.80:8080/Build/DevBuild.framework.js:995:12
@http://192.168.166.80:8080/Build/DevBuild.framework.js:60:31
doCallback@http://192.168.166.80:8080/Build/DevBuild.framework.js:4571:19
done@http://192.168.166.80:8080/Build/DevBuild.framework.js:4582:15
@http://192.168.166.80:8080/Build/DevBuild.framework.js:3938:13
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
- ArgumentOutOfRangeException is thrown when an empty DropdownField is clicked at runtime
- [tvOS] "EXC_BAD_ACCESS" error is thrown when Painter2D.ClosePath is called
- Bad Naming Convention in Shortcuts Window for Sprite Shape Editing
- Bad Naming Convention in Shortcuts Window for Shader Graph
- Bad Naming Convention in Shortcuts Window for Particle System
Resolution Note:
This bug occurs only on iOS 15.4. Please update to iOS 15.5 to fix this issue.