You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What should happen: The text should be cached as bitmap
What happens instead: Uncaught TypeError: Cannot read property 'renderBuffer' of undefined
Error is in this piece of code -
The below function is not associated with a class so "this.renderBuffer" is not accessible. Possible fix is calling this function using call method and passing "this" as context.
Please also update following line in the Pixi.DisplayObject's _generateCachedSprite function:
var renderTexture = new Phaser.RenderTexture(this.game, bounds.width, bounds.height, undefined, undefined, undefined, this.game.renderer, textureUnit);
This Issue is about (pick one, ✏️ delete others)
Error is in this piece of code -
The below function is not associated with a class so "this.renderBuffer" is not accessible. Possible fix is calling this function using call method and passing "this" as context.
The text was updated successfully, but these errors were encountered: