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

Error Can't find file 'uid://byk7emqeyttmh::::res://assets/mytilemap.png'. #30

Closed
JSchrepp opened this issue Nov 8, 2023 · 3 comments
Closed

Comments

@JSchrepp
Copy link
Contributor

JSchrepp commented Nov 8, 2023

Describe the bug
Error message in the title prints to Godot output console whenever my map is reimported. At first I thought this was due to my png being in a different directory than all my tiled files but I am still getting this when I redo this with everything in one directory. My map seems to be importing just fine but it's not clear what's going wrong and if there is a failure somewhere else in the process I just haven't seen yet.

To Reproduce

  1. Initially import map into godot projects through addon.
  2. Edit the map in tiled.
  3. Refocus to godot, triggering reimport.

Expected behavior
No error message.

Desktop (please complete the following information):

  • OS: Windows 11
  • Version 1.6.0 csharp
  • Godot Version 4.1.1 .NET version
  • Tiled Version 1.10.2

Examle map (zipped)
project.zip

@Kiamo2
Copy link
Owner

Kiamo2 commented Nov 9, 2023

Weird...
This error message is thrown before any addon code is invoked.
-> Originates somewhere from inside Godot and I'm afraid I've no program-spefic means to do anything about it.

@JSchrepp
Copy link
Contributor Author

JSchrepp commented Nov 9, 2023

Unfortunate. I suppose that means there shouldn't be any real issues in the import process though? Good to know.

@Kiamo2
Copy link
Owner

Kiamo2 commented Nov 9, 2023

No the import has no problem whatsoever.
Findings:

  • The message only is thrown if an .tmx.import file exists i.e. on subsequent imports.
  • And only on automatically triggered imports not on imports forced by pressing the Reimport button.

I take it as another Godot flaw.

@JSchrepp JSchrepp closed this as completed Nov 9, 2023
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

2 participants