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

Memory leakage on re-import #127

Open
2shady4u opened this issue Jun 17, 2020 · 0 comments
Open

Memory leakage on re-import #127

2shady4u opened this issue Jun 17, 2020 · 0 comments

Comments

@2shady4u
Copy link

Plugin version
v2.3
Godot version 3.2.1 (Stable)

Issue description
Export through command line (without .import-folder) results in memory leakage.

Steps to reproduce

  • Make a new Godot project and add the latest godot-tiled-importer addon from the assetlib
  • Add a tilemap TMX file containing at least one PNG (that is also present in the project hierarchy)
  • Add a node with a TMX instance of your tilemap
  • Make an export preset for Windows
  • Set verbose_output to true in the ProjectSettings
  • Export the game through the command line with:
    godot -v --export-debug "Windows Desktop" build/test.exe

Look at the verbose output:
with_import_folder

All good 👌

Now DELETE the .import-folder and repeat this command in the console, and you will get this:
without_import_folder

Notice the memory leakage 😢

Example project
test-tiled-ci.zip

How could this be fixed?

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