Closed
Description
🐛 Bug Report
I've upgraded my project's Flutter version to 3.27.0, and now, when I run the web version, I get a lot of errors like this:
canvaskit.js:21 Uncaught (in promise) SecurityError: Failed to execute 'texImage2D' on 'WebGL2RenderingContext': The image element contains cross-origin data, and may not be loaded.
UPD: Since in my project, CachedNetworkImage is heavily used, and there are quite a lot of images, too much Failed to execute 'texImage2D' on 'WebGL2RenderingContext
causes Additional error: RuntimeError: memory access out of bounds
and overall crash of the app.
Expected behavior
It should load an image normally, like it used to in the previous Flutter versions
Reproduction steps
- Create a project with flutter version 3.27.0
- Use CachedNetworkImage
- Run project in web
Configuration
Version: 3.4.1
Platform:
- :web
Metadata
Metadata
Assignees
Labels
No labels