Open scott-cornwell opened 1 year ago
I can get a sprite to display with Pixi 7.2 from a webworker, but when I put it on a layer the same way I did before it displays nothing. No errors returned.
I think I got it working. It appears you have to do this now for layers in a webworker (not sure if this is true of Pixi 7 in general as well):
import { Stage } from '@pixi/layers' app.stage = new Stage()
I can get a sprite to display with Pixi 7.2 from a webworker, but when I put it on a layer the same way I did before it displays nothing. No errors returned.