Search Issue Tracker

Fixed in 2020.1.X

Votes

2

Found in

2019.1.0b1

2019.1.3f1

2019.2.0a1

2019.3.0a1

Issue ID

1173262

Regression

No

[WebGL] WebAssembly streaming is not correctly sourced when loaded from a site on a different domain

WebGL

-

How to reproduce:
1. Create a new WebGL project
2. Enable WebAssembly Streaming in Player Settings > Publishing Settings
3. Make a WebGL build
4. Host "TemplateData" and "build" folders separately (make sure that the "build" folder does not include the "TemplateData" folder)
5. Edit "index.html" to adjust "TemplateData" paths from local to the web paths to the hosted "TemplateData" folder
6. Launch the build

Expected results: Build loads successfully
Actual results: Build fails to load, errors about mismatching magic words

Reproducible with: 2019.1.13f1, 2019.2.0f1, 2019.3.0a11
Couldn't test with versions below 2019.1.0b1, as they don't have WebAssembly streaming functionality

  1. Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0a1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.