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

Show build error if spine scene can't be loaded #188

Open
AGulev opened this issue Oct 22, 2024 · 2 comments
Open

Show build error if spine scene can't be loaded #188

AGulev opened this issue Oct 22, 2024 · 2 comments

Comments

@AGulev
Copy link
Contributor

AGulev commented Oct 22, 2024

If there is no image in atlas which needed for spine scene it shows an error only in scene:
CleanShot 2024-10-22 at 10 06 32@2x

But the game builds and exits when it's trying to load such a scene :

INFO:ENGINE: Initialised sound device 'default'
ERROR:SPINEC: Failed to read spine skeleton for /assets/coins/coin.spinescenec: (null)
WARNING:RESOURCE: Unable to create resource: /assets/coins/coin.spinescenec: INVALID_DATA
WARNING:RESOURCE: Unable to create resource: /_generated_3b7dfa95.spinemodelc: INVALID_DATA
WARNING:RESOURCE: Unable to create resource: /_generated_e2b44320.goc: INVALID_DATA
ERROR:GAMEOBJECT: Could not instantiate game object from prototype /_generated_e2b44320.goc.
WARNING:RESOURCE: Unable to create resource: /main/main.collectionc: FORMAT_ERROR
INFO:DEFOLDIMGUI: FinalizeDefoldImGui
INFO:DEFOLDIMGUI: imgui_Shutdown
ERROR:RESOURCE: Leaked resources:
ERROR:RESOURCE: Resource: /assets/coins/coin-pro.spinejsonc  ref count: 1

The extension should show a build error in such cases (bundle error in bob as well)

@AGulev
Copy link
Contributor Author

AGulev commented Dec 2, 2024

Old runtime was fine with such animations
We should either show build error or make runtime ignore such issues again

@AGulev AGulev self-assigned this Dec 3, 2024
@AGulev AGulev removed the bob label Dec 3, 2024
@AGulev AGulev removed their assignment Dec 3, 2024
@AGulev
Copy link
Contributor Author

AGulev commented Dec 3, 2024

Validation in Bob has been implemented here: #190.
This issue now relates only to the editor.

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

No branches or pull requests

2 participants