-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
Resource was not pre cached for the resource (all tiles turn black) #97
Comments
Out of curiosity, would you happen to be testing this on a copy of your project? I had the same issue with the importer and 3.1, and it turned out to be because the tmx was referencing images in my original project folder, and thus were outside the loaded project's resource root. Fixing that made the problem go away. |
yeah, actually i am. how u know lol i made a backup of 3.0 cuz last time 3.1 saved files weird (tscn) and had to edit stuff to reopen. so i just made a backup just in case. should i delete .import and reimport? i checked the .tmx still points to the same texture location tho.. hmm |
Might be a bug in Godot. |
@vnen and @shinaka i tried to replicate this in a fresh new project. i can't. i'm betting it's a rare edge case with my current project (pretty large?) i have a feeling there might just be a lingering file laying around causing this. or the directory to the tileset texture is not correct. is it possible to delete entire godot cache and .import or something? i bet that might help i'll fiddle around with this today and report back if i find anything, this has really got me puzzle'd but jeez, everytime i use tiled, i don't want to go back to the built in editor lol |
ok. after some testing, i think the problem is related to setting your tileset's texture in tiled, to a texture that is OUTSIDE of your local game folder. that's what I did last time, and it worked fine but ran into this issue later. edit: if anyone comes across this issue: i recommend setting the tileset's texture to a texture that is local to your game directory. so, vnen feel free to close if you want, if it happens again, i'll remake a issue or post here. |
Sure, thanks for testing it out. I still think this an issue in how Godot handles resources. If you are copying your project somewhere else, deleting the |
Happened to me today in 4.1. Cannot replicate, seems to happen at random. |
Plugin version
2.2
godot: 3.1
Issue description
when re-importing a .tmx i get:
works fine on 3.0.6 tho, hmm
The text was updated successfully, but these errors were encountered: