Closed slnrhetoric closed 6 years ago
Hi there, Nelson.
Issue 1: I'm not sure what to do with this as it sounds like it might be resolved but if you manage to see it again and get some screenshots then let me know.
Issue 2: That TMX Exception likely has some crucially important information in it. Can you send me the full output?
Issue 3: You should set Pixel Per Unit to 100, not 0.01.
Thanks.
Here's the screenshot of the output message. Thanks a lot!
Can you copy and paste the full output as text, please? I'm going to need that to figure out the root of this.
Thanks.
Sure - sorry about the confusion -
TMX Exception Stack: at Tiled2Unity.TmxImage.FromXml (System.Xml.Linq.XElement elemImage, System.String prefix, System.String postfix) [0x00136] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.TsxTileset.ParseTilesetXml (System.Xml.Linq.XElement xml, Tiled2Unity.TsxTileset tileset) [0x0014e] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.TsxTileset.ParseTilesetSource (System.String tsxSource, Tiled2Unity.TsxTileset tileset) [0x00035] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.TsxTileset.FromXml (System.Xml.Linq.XElement xml, Tiled2Unity.TmxMap tmxMap) [0x0004d] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.TmxMap.ParseAllTilesets (System.Xml.Linq.XDocument doc) [0x0004c] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.TmxMap.ParseMapXml (System.Xml.Linq.XDocument doc) [0x00189] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.TmxMap.LoadFromFile (System.String tmxPath) [0x00027] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.Session.LoadTmxFile (System.String tmxFilePath) [0x0001e] in <236ab465aa5d40ebbbca744463920511>:0 TMX Exception Stack: at Tiled2Unity.TmxImage.FromXml (System.Xml.Linq.XElement elemImage, System.String prefix, System.String postfix) [0x00136] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.TsxTileset.ParseTilesetXml (System.Xml.Linq.XElement xml, Tiled2Unity.TsxTileset tileset) [0x0014e] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.TsxTileset.ParseTilesetSource (System.String tsxSource, Tiled2Unity.TsxTileset tileset) [0x00035] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.TsxTileset.FromXml (System.Xml.Linq.XElement xml, Tiled2Unity.TmxMap tmxMap) [0x0004d] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.TmxMap.ParseAllTilesets (System.Xml.Linq.XDocument doc) [0x0004c] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.TmxMap.ParseMapXml (System.Xml.Linq.XDocument doc) [0x00189] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.TmxMap.LoadFromFile (System.String tmxPath) [0x00027] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.Session.LoadTmxFile (System.String tmxFilePath) [0x0001e] in <236ab465aa5d40ebbbca744463920511>:0 TMX Exception Stack: at Tiled2Unity.TmxImage.FromXml (System.Xml.Linq.XElement elemImage, System.String prefix, System.String postfix) [0x00136] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.TsxTileset.ParseTilesetXml (System.Xml.Linq.XElement xml, Tiled2Unity.TsxTileset tileset) [0x0014e] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.TsxTileset.ParseTilesetSource (System.String tsxSource, Tiled2Unity.TsxTileset tileset) [0x00035] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.TsxTileset.FromXml (System.Xml.Linq.XElement xml, Tiled2Unity.TmxMap tmxMap) [0x0004d] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.TmxMap.ParseAllTilesets (System.Xml.Linq.XDocument doc) [0x0004c] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.TmxMap.ParseMapXml (System.Xml.Linq.XDocument doc) [0x00189] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.TmxMap.LoadFromFile (System.String tmxPath) [0x00027] in <236ab465aa5d40ebbbca744463920511>:0 at Tiled2Unity.Session.LoadTmxFile (System.String tmxFilePath) [0x0001e] in <236ab465aa5d40ebbbca744463920511>:0
I'm sorry to keep going back and forth on this but I need the full output, including everything leading up to this exception. Also, I may need your TMX file and tilesets and textures but I'll start with the full output and see if I can figure out what's going on from that.
No worries - sorry about the misunderstanding. Here's the whole output (including several attempts at uploading). Let me know if I need to send over the files/where I should send them. Thanks for your help and patience.
Thanks. Here's your problem (It should be in red right after the report summary):
Image file not found: /Users/sandranelson/Dropbox/Coding/Unity/Pittsburgh 10/Images/wine_pgh10.png
Are you able to open your map in Tiled? I would expect it to complain about a missing image too.
I removed the image from the map a while ago and located the file when Tiled complained about it, but maybe it's still indicating that it's present? I hadn't had any trouble opening or uploading the map until I imported the new map. I'll go back in and look at it. Sorry for all the trouble.
Ah, okay. After re-locating the file in Tiled make sure you save the change before exporting. In the Tiled Edit Commands
options window I have Save map before executing
selected so that I'm sure that I'm exporting the latest changes I've made.
Noted! Thanks for your help. Seems to have all cleared up.
Working on a Mac, and still new to Unity and Tiled2Unity. Encountered a couple of (potentially interrelated?) issues:
Issue 1: Created a new map in Tiled using newly downloaded tilesets. When I uploaded the new map through Tiled2Unity, it both had issues rendering the upper layers on the new map (displayed different images from the tileset) and caused an old map to glitch (upper layer images changed and rendered as large and pixilated). Forgot to take screenshots. I downloaded the new version of Tiled2Unity (1.0.13.1), and the rendering issues seem to have gone away?
Issue 2: Whenever I try to upload a new version of the old map (the one that glitched) with an adjusted Object Layer, I receive a series of errors in the Tiled2Unity output beginning with "TMX Exception Stack," and the map preview doesn't display anything. It doesn't seem to be happening with any maps except for the same old one that experienced the previous issue. This is still happening in the new version of Tiled2Unity.
Issue 3: When uploading both maps through Tiled2Unity, I set the Pixel Per Unit to .01; however, the Export Scale in Unity shows 100, and I had to size the maps down 100x smaller than the other maps in the game.
Thanks so much for your time and help!