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][DelvEdit] Selecting Texture Atlas Crashes #281

Open
PythooonUser opened this issue Jun 16, 2022 · 0 comments
Open

[Bug][DelvEdit] Selecting Texture Atlas Crashes #281

PythooonUser opened this issue Jun 16, 2022 · 0 comments

Comments

@PythooonUser
Copy link
Contributor

Steps To Reproduce

  • Checkout current master
  • Place an entity with a texture field
  • Select vfx from the dropdown

grafik

  • Editor crashes with the following stack trace:
[Delver] Could not find file in any mods: vfx.png
[Delver] Could not find file in any mods: vfx.png
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: vfx.png
        at com.badlogic.gdx.graphics.Pixmap.<init>(Pixmap.java:149)
        at com.interrupt.dungeoneer.Art.loadPixmap(Art.java:42)
        at com.interrupt.dungeoneer.gfx.TextureAtlas.load(TextureAtlas.java:140)
        at com.interrupt.dungeoneer.gfx.TextureAtlas.loadIfNeeded(TextureAtlas.java:269)
        at com.interrupt.dungeoneer.gfx.TextureAtlas.getSpriteRegions(TextureAtlas.java:335)
        at com.interrupt.dungeoneer.editor.ui.TextureRegionPicker.makeRegionButtons(TextureRegionPicker.java:112)
        at com.interrupt.dungeoneer.editor.ui.TextureRegionPicker$2.changed(TextureRegionPicker.java:52)
        at com.badlogic.gdx.scenes.scene2d.utils.ChangeListener.handle(ChangeListener.java:28)
        at com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:183)
        at com.badlogic.gdx.scenes.scene2d.Actor.fire(Actor.java:148)
        at com.badlogic.gdx.scenes.scene2d.utils.Selection.fireChangeEvent(Selection.java:218)
        at com.badlogic.gdx.scenes.scene2d.utils.Selection.choose(Selection.java:52)
        at com.badlogic.gdx.scenes.scene2d.utils.ArraySelection.choose(ArraySelection.java:24)
        at com.badlogic.gdx.scenes.scene2d.ui.SelectBox$SelectBoxList$2.clicked(SelectBox.java:375)
        at com.badlogic.gdx.scenes.scene2d.utils.ClickListener.touchUp(ClickListener.java:88)
        at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:59)
        at com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:350)
        at com.badlogic.gdx.InputMultiplexer.touchUp(InputMultiplexer.java:124)
        at com.badlogic.gdx.backends.lwjgl.LwjglInput.processEvents(LwjglInput.java:342)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:217)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
Caused by: com.badlogic.gdx.utils.GdxRuntimeException: File not found: vfx.png (Internal)
        at com.badlogic.gdx.files.FileHandle.read(FileHandle.java:142)
        at com.badlogic.gdx.files.FileHandle.readBytes(FileHandle.java:228)
        at com.badlogic.gdx.graphics.Pixmap.<init>(Pixmap.java:146)
        ... 20 more
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