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

Old pack file were not replaced correctly #155

Open
qpshot opened this issue Dec 27, 2024 · 0 comments
Open

Old pack file were not replaced correctly #155

qpshot opened this issue Dec 27, 2024 · 0 comments
Labels
crash report Crash reports sent from a built-in issue constructor

Comments

@qpshot
Copy link

qpshot commented Dec 27, 2024

Windows, v4.13

[CliBatchApp] Start processing atlases: cursors
[SystemUtils] Recognized system configuration is Windows (x64)
Packing is started for "cursors"
PackingWriting 512x128: E:\path\cursors.libgdx2.png
[text-red]Exception occurred:[] A region with the name "file_cursor" has already been packed: file_cursor
[text-red]Stack trace:[]
com.badlogic.gdx.utils.GdxRuntimeException: A region with the name "file_cursor" has already been packed: file_cursor
        at com.badlogic.gdx.tools.texturepacker.TexturePacker.writePackFile(TexturePacker.java:354)
        at com.badlogic.gdx.tools.texturepacker.TexturePacker.pack(TexturePacker.java:182)
        at com.crashinvaders.texturepackergui.controllers.packing.processors.PackingProcessor.performPacking(PackingProcessor.java:66)
        at com.crashinvaders.texturepackergui.controllers.packing.processors.PackingProcessor.processPackage(PackingProcessor.java:42)
        at com.crashinvaders.texturepackergui.utils.packprocessing.CompositePackProcessor.processPackage(CompositePackProcessor.java:20)
        at com.crashinvaders.texturepackergui.utils.packprocessing.PackProcessingManager.lambda$execute$0(PackProcessingManager.java:58)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:835)

The problem seems to be with the expansion name. I used *.libgdx.atlas. If I remove extension or just use .atlas, it don't get error.

@qpshot qpshot added the crash report Crash reports sent from a built-in issue constructor label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash report Crash reports sent from a built-in issue constructor
Projects
None yet
Development

No branches or pull requests

1 participant