Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Tilesource and atlas with the same name causes bugs (DEF-2330) #697

Open
britzl opened this issue Apr 18, 2017 · 3 comments
Open

Tilesource and atlas with the same name causes bugs (DEF-2330) #697

britzl opened this issue Apr 18, 2017 · 3 comments
Labels
blocker An issue that is blocking further progress for users

Comments

@britzl
Copy link
Contributor

britzl commented Apr 18, 2017

Expected behaviour

I should be able to have a tilesource and atlas with the same base name. Or the editor should detect it and prevent me from giving them the same name.

Actual behaviour

The generated texture of the tilesource and atlas overwrite each other. This causes some really weird bugs with missing textures.

Steps to reproduce

Create a tilesource named foo.tilesource
Create an atlas named foo.atlas
Create a tilemap using foo.tilesource
Create gameobject A and attach the tilemap
Create gameobject B and attach a sprite and assign it an image from the atlas
Build and run. Notice that either the tilemap isn't rendered
Remove gameobject A or B
Build again. Notice an error message similar to WARNING:RESOURCE: Resource not found: /_generated_e27b97ae.texturec


Defold version1.2.102
Defold shaa0b6a84460b815c07ecdbfdf6318e1c5d624d424
Build time2017-04-18T09:27:56.309759
OS nameMac OS X
OS version10.12.4
OS archx86_64
Java version1.8.0_102-b14
@britzl britzl added the new label Apr 18, 2017
@RagnarSvenssonKing RagnarSvenssonKing added serious A serious although non-blocking issue and removed new labels Apr 19, 2017
@erikangelin-king erikangelin-king added blocker An issue that is blocking further progress for users and removed serious A serious although non-blocking issue labels Dec 5, 2017
@AGulev
Copy link
Contributor

AGulev commented Jan 4, 2019

similar issue #660

@AGulev AGulev changed the title Tilesource and atlas with the same name causes bugs Tilesource and atlas with the same name causes bugs (DEF-2330) Feb 15, 2019
@AGulev
Copy link
Contributor

AGulev commented Feb 15, 2019

#2143

@lmntn
Copy link

lmntn commented Mar 11, 2020

with this issue I can’t nicely organize naming in the project :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blocker An issue that is blocking further progress for users
Projects
None yet
Development

No branches or pull requests

5 participants