Search Issue Tracker
Won't Fix
Votes
9
Found in
2018.2.0f2
Issue ID
1058959
Regression
No
[WebGL] iOS Safari WebAssembly Unhandled Promise Rejection Error when a scene has UI and any script calling UnityEngine.Animator
Reproduction steps:
1. Open the attached project (SafariTest.zip (56.4 KB)).
2. Build it to WebGL.
3. Move WebGL files to a server (Tested with MAMP htdocs).
4. Start the server.
5. Connect an iOS device to a macOS machine with a cable.
- Make sure device uses at least iOS 11.
6. Make sure "Settings > Safari > Advanced > Web Inspector" is toggled on the iOS device.
7. Make sure "Safari > Preferences > Advanced > Show Develop menu in menu bar" is toggled on the macOS Safari browser.
8. Go to your server IP address with iOS device Safari browser (Tested with local IP shown in the macOS Network Preferences and 8888 port).
9. Go to "Develop > 'Device name' > Safari" and click the first selection.
10. Select the Console tab.
- Notice the errors.
Actual behavior:
- Loading never finishes.
- WebAssembly Unhandled Promise Rejection Error is shown.
- Check the screenshot below to see a more detailed error message.
Reproduced with:
2018.3.0a5, 2018.2.0f2
iPhone 7+ iOS 11.1.1
Notes:
- This issue might be a regression. 2018.1.9f1 doesn't show any errors, but loading doesn't finish either.
Comments (2)
-
mafia89
Nov 14, 2024 03:16
I still got "WebAssembly Unhandled Promise Rejection Error" on WebGL build by Unity 6.0.25. Please fix it.
-
dimkvelichko
Dec 01, 2019 12:59
That problem have in all unity versions. Please fix that problem'
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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note:
We don't support mobile with our WebGL export at the current moment. If this changes in the future we will reevaluate.