Search Issue Tracker
Duplicate
Votes
0
Found in
2019.4.29f1
Issue ID
1363726
Regression
No
[WebGL] cannot run project in Chrome via a file:// path using --allow-file-access-from-files option
From: https://bugs.chromium.org/p/chromium/issues/detail?id=1247401
Steps:
(1) Extract Build folder from attached ZIP (other files/folders are source code for reference if desired).
(2) Shut down Chrome processes and run Chrome with --allow-file-access-from-files (or upload extracted files to webserver).
(3) Open Build\index.html
What should happen:
The project should open and the test.png image should be displayed
What does happen:
Error messages are displayed in the browser's dev tools console.
The Unity docs at https://docs.unity3d.com/2019.4/Documentation/Manual/webgl-building.html say it's possible to open with a file:// URL
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
This is a duplicate of issue #1363710