Search Issue Tracker
By Design
Votes
0
Found in
5.5.0p4
Issue ID
875879
Regression
No
Embedded resources in WebGL export only working with fully enabled exceptions
Reproduction Steps:
1- Download attached project.
2- Build solution ResourceLoader.
3- Put built assembly(ResourceLoader.dll) into Assets folder.
4- Load project in Unity.
5- Create empty object.
6- Add "Loader" component to that object.
7- Save scene.
8- Enable embedded resources for WebGL export via "WebGL->Enable Embedded Resources".
9- Make sure "Enable Exceptions" is set to None or Explicitly Thrown in WebGL Player Settings.
10- Export WebGL project.
11- Load index.html.
12- Check browser's developer console output.
Expected Result: "text from resource" is printed to the console.
Observed Result: "stream null" is printed to the console.
Reproduced with: 5.6.0b6, 5.3.6f1
Note: Set "Enable Exceptions" to "Full" in WebGL Player Settings to achieve the expected result.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Add comment