Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: atlas.findRegion is not a function #552

Open
axldns opened this issue May 14, 2024 · 0 comments
Open

bug: atlas.findRegion is not a function #552

axldns opened this issue May 14, 2024 · 0 comments

Comments

@axldns
Copy link

axldns commented May 14, 2024

Hey,

"pixi-spine": "^4.0.4",
"pixi.js": "^7.3.2",

This happens when trying to load atlas with already preloaded image like so:

await Assets.load([{
    src: "spine-data/Rocket.json",
    data: { image: Texture.from("images/main/Rocket.png") }
}]);

After some deep dive I believe I found the potential bug in base loader. In short, variable is attempted to read while being assigned.

image

I managed to fix it locally (change, build, pack, install), but I'm not quite sure how to contribute here.

the fix itself
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant