Skip to content

Cannot find variable: ImageBitmap  #15885

@chalupagrande

Description

@chalupagrande
Description of the problem

When loading a texture (or image) using THREE.TextureLoader on iOS Safari or iOS Chrome, I get the error "Cannot find variable ImageBitmap"

Hack Solution

Before loading the texture:
window.ImageBitmap = window.ImageBitmap || function () { return null }

Three.js version
  • Dev
  • r102
Browser
  • All of them
  • Chrome
  • Firefox (did not test)
  • Safari
  • Internet Explorer
OS
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions