jnsmalm / pixi3d

The 3D renderer for PixiJS. Seamless integration with 2D applications.
https://pixi3d.org
MIT License
763 stars 44 forks source link

Crashes with "Could not find dependency: '@pixi/<it varies>' relative to '/node_modules/pixi3d/dist/cjs/pixi5/pixi3d.js" #200

Open patreeceeo opened 9 months ago

patreeceeo commented 9 months ago

Steps to reproduce:

I haven't figured out how to reliably reproduce it. Seems like it might be a race condition?

Anyway, if I import "pixi3d/pixi7" sometimes this crash occurs.

patreeceeo commented 9 months ago

I've also it happening in this codesandbox which is the sprite3d example modified to use pixi.js v7.

jnsmalm commented 9 months ago

Thanks for reporting, I'll take a look. Can you give any more info how to reproduce?

jnsmalm commented 9 months ago

Also, I don't have access to your sandbox

patreeceeo commented 8 months ago

sorry I'm not that familiar with these "code sandboxes." I think I've made it public now: link