Jump to content

Cannot use 'in' operator to search for 'imageSmoothingEnabled' in null


Recommended Posts

I cannot reproduce the error and the game works fine for most users, but some users experience this error:

Cannot use 'in' operator to search for 'imageSmoothingEnabled' in null

And it occurs only in Chromium browsers.
Game settings

      width: 2080,
      height: 1280,
      renderer: Phaser.AUTO,
      parent: "game",
      transparent: true,
      disableVisibilityChange: true,
      failIfMajorPerformanceCaveat: true,
Object.getSmoothingPrefix at line 3:507589
new s.CanvasRenderer at line 3:192693
i.Game.setUpRenderer at line 3:289390
i.Game.boot at line 3:286307
i.Device._readyCheck at line 3:497824

It looks like CanvasRenderingContext2D is null in some cases.
What could be the reason?

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...