Comments

Log in with itch.io to leave a comment.

Viewing most recent comments 2 to 15 of 95 · Next page · Last page

Hi there. Tiled2Unity is a great tool! It saves us massive amounts of time converting our game from Amiga to Unity!😊

We are using the latest versjon of ST2U (2.1.1), and I was wondering how to change the Sprite Sort Point of objects in an object layer. I looks like the objects all get Center as the Sprite Sort Point when exported, but since we are making an isometric game, it would be nice to be able to change the Sprite Sort Point to Pivot. Is that possible in any settings, or would I need to make a custom importer? :)

(+1)

I'm using version 2.1.1, I find that every object in object layer is imported as a collider by default, which is fine for me.

But I see a post on 2021, which says "it(SuperTiled2Unity) will not automatically generate collision based on Objects".

I think what really happen in my Unity project is the actural fact - "In version 2.1.1, every object in object layer is imported as a collider by default". So the post must be outdated.

But I don't see anything about this on document.

So, I'm here just want to make sure that "In version 2.1.1, every object in object layer is imported as a collider by default".

I'm having problem with super-tiled2unity.v2.1.1! Always I close Unity and when reopen, I have problem with import txs files e doesn,t work anymore. It doesn't locate files and give the follow message:

Unknown error of type importing 'Assets/TiledLevels/TiledImported/tileset/automap-tiles.tsx': Failed to add object of type `SuperTileset`. Check that the definition is in a file of the same name and that it compiles properly.

Stack Trace:

  at (wrapper managed-to-native) UnityEditor.AssetImporters.AssetImportContext.AddObjectToAsset_Injected(UnityEditor.AssetImporters.AssetImportContext,string,intptr,intptr)

  at UnityEditor.AssetImporters.AssetImportContext.AddObjectToAsset (System.String identifier, UnityEngine.Object obj, UnityEngine.Texture2D thumbnail) [0x0000e] in <67d1ed7258bf49b19e780d91cc47c581>:0 

  at SuperTiled2Unity.Editor.SuperImportContext.AddObjectToAsset (System.String identifier, UnityEngine.Object obj, UnityEngine.Texture2D thumbnail) [0x00001] in D:\GitHubPrAnderson\MyCustomPackagesUnity\super-tiled2unity.v2.1.1\Editor\Importers\SuperImportContext.cs:43 

  at SuperTiled2Unity.Editor.TsxAssetImporter.CreateTileset (System.Xml.Linq.XElement xTileset) [0x00041] in D:\GitHubPrAnderson\MyCustomPackagesUnity\super-tiled2unity.v2.1.1\Editor\Importers\TsxAssetImporter.cs:58 

  at SuperTiled2Unity.Editor.TsxAssetImporter.ProcessTileset (System.Xml.Linq.XElement xTileset) [0x00001] in D:\GitHubPrAnderson\MyCustomPackagesUnity\super-tiled2unity.v2.1.1\Editor\Importers\TsxAssetImporter.cs:45 

  at SuperTiled2Unity.Editor.TsxAssetImporter.ImportTsxFile () [0x0001e] in D:\GitHubPrAnderson\MyCustomPackagesUnity\super-tiled2unity.v2.1.1\Editor\Importers\TsxAssetImporter.cs:40 

  at SuperTiled2Unity.Editor.TsxAssetImporter.InternalOnImportAsset () [0x00018] in D:\GitHubPrAnderson\MyCustomPackagesUnity\super-tiled2unity.v2.1.1\Editor\Importers\TsxAssetImporter.cs:33 

  at SuperTiled2Unity.Editor.SuperImporter.OnImportAsset (UnityEditor.AssetImporters.AssetImportContext ctx) [0x00065] in D:\GitHubPrAnderson\MyCustomPackagesUnity\super-tiled2unity.v2.1.1\Editor\Importers\SuperImporter.cs:71 

UnityEngine.Debug:LogErrorFormat (string,object[])

SuperTiled2Unity.Editor.SuperImporter:OnImportAsset (UnityEditor.AssetImporters.AssetImportContext) (at D:/GitHubPrAnderson/MyCustomPackagesUnity/super-tiled2unity.v2.1.1/Editor/Importers/SuperImporter.cs:92)

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

And I install as a package, managed by Unity package manager. I really don't know what I can do now. I want to use Tiled + SuperTiled very much but, with this problem I can't!

hi there! i was wondering if this package provides a way to export tilemaps in a given unity scene to a file that can be opened in Tiled? basically Unity2Tiled haha

I have been doing all my mapping in unity, but some team members want to help with the mapping in Tiled. I need to export the work i currently have for them to use.

(2 edits) (+1)

Import the sample Overhead from super-tiled2unity.v2.1.0 will catch the exceptions.

SuperTiled2Unity version: unknown, Unity version: 2022.3.9f1

Unknown error encountered. Please report as bug. Stack track is in the console output.

Object reference not set to an instance of an object

Unknown error of type importing 'Assets/ThirdParty/super-tiled2unity/Samples/Overhead/Maps/Zoria Tileset/scraps.tsx': Failed to add object of type `SuperTile`. Check that the definition is in a file of the same name and that it compiles properly.

Stack Trace:

  at (wrapper managed-to-native) UnityEditor.AssetImporters.AssetImportContext.AddObjectToAsset(UnityEditor.AssetImporters.AssetImportContext,string,UnityEngine.Object,UnityEngine.Texture2D)

  at UnityEditor.AssetImporters.AssetImportContext.AddObjectToAsset (System.String identifier, UnityEngine.Object obj) [0x00001] in <2e279d988b9d4542841de511fbfdf8c2>:0 

  at SuperTiled2Unity.Editor.SuperImportContext.AddObjectToAsset (System.String identifier, UnityEngine.Object obj) [0x00001] in D:\Work\UnityWork\hl-client-unity\HerosLand\Assets\ThirdParty\super-tiled2unity\Editor\Importers\SuperImportContext.cs:38 

  at SuperTiled2Unity.Editor.AtlasBuilder.Commit (System.Single ppu) [0x001bd] in D:\Work\UnityWork\hl-client-unity\HerosLand\Assets\ThirdParty\super-tiled2unity\Editor\AtlasBuilder.cs:246 

  at SuperTiled2Unity.Editor.AtlasBuilder.Build (System.Single ppu) [0x00029] in D:\Work\UnityWork\hl-client-unity\HerosLand\Assets\ThirdParty\super-tiled2unity\Editor\AtlasBuilder.cs:88 

  at SuperTiled2Unity.Editor.TilesetLoader.BuildTileset (System.Xml.Linq.XElement xTileset) [0x00054] in D:\Work\UnityWork\hl-client-unity\HerosLand\Assets\ThirdParty\super-tiled2unity\Editor\Loaders\TilesetLoader.cs:101 

  at SuperTiled2Unity.Editor.TilesetLoader.LoadFromXml (System.Xml.Linq.XElement xTileset) [0x0005c] in D:\Work\UnityWork\hl-client-unity\HerosLand\Assets\ThirdParty\super-tiled2unity\Editor\Loaders\TilesetLoader.cs:41 

  at SuperTiled2Unity.Editor.TsxAssetImporter.CreateTileset (System.Xml.Linq.XElement xTileset) [0x0008a] in D:\Work\UnityWork\hl-client-unity\HerosLand\Assets\ThirdParty\super-tiled2unity\Editor\Importers\TsxAssetImporter.cs:62 

  at SuperTiled2Unity.Editor.TsxAssetImporter.ProcessTileset (System.Xml.Linq.XElement xTileset) [0x00001] in D:\Work\UnityWork\hl-client-unity\HerosLand\Assets\ThirdParty\super-tiled2unity\Editor\Importers\TsxAssetImporter.cs:45 

  at SuperTiled2Unity.Editor.TsxAssetImporter.ImportTsxFile () [0x0001e] in D:\Work\UnityWork\hl-client-unity\HerosLand\Assets\ThirdParty\super-tiled2unity\Editor\Importers\TsxAssetImporter.cs:40 

  at SuperTiled2Unity.Editor.TsxAssetImporter.InternalOnImportAsset () [0x00018] in D:\Work\UnityWork\hl-client-unity\HerosLand\Assets\ThirdParty\super-tiled2unity\Editor\Importers\TsxAssetImporter.cs:33 

  at SuperTiled2Unity.Editor.SuperImporter.OnImportAsset (UnityEditor.AssetImporters.AssetImportContext ctx) [0x00065] in D:\Work\UnityWork\hl-client-unity\HerosLand\Assets\ThirdParty\super-tiled2unity\Editor\Importers\SuperImporter.cs:71 

UnityEngine.Debug:LogErrorFormat (string,object[])

ah, im having the same issue. did you  manage to figure this out?

Hi there. It looks like you copied Super Tiled2Unity into your project Assets directory.  ST2U is now a package that works with Unity Package Manager. As such you need to copy it into your project's Packages folder. Hope that helps.

(3 edits)

Collider2DExtensions.cs Exception

'Collider2D' does not contain a definition for 'compositeCapable' and no accessible extension method 'compositeCapable' accepting a first argument of type 'Collider2D' could be found (are you missing a using directive or an assembly reference?)

 'Collider2D' does not contain a definition for 'compositeOperation' and no accessible extension method 'compositeOperation' accepting a first argument of type 'Collider2D' could be found (are you missing a using directive or an assembly reference?)

For Unity2022.3.9, Collider2d cannot find compoisteCapable and compositeOperation properties.

if (merge && !collider2d.compositeCapable)
{
    Debug.LogWarning($"Super Tiled2Unity warning: Collider2D '{collider2d.name}' is not composite capable");
}
collider2d.compositeOperation = merge ? Collider2D.CompositeOperation.Merge : Collider2D.CompositeOperation.None;

So, upgrading to 2.0.1 .zip from 1.10.7 's .unitypackage. is this compatible with unity 2018 or should i upgrade?

Hi there. Sorry for the late reply. Version 2.0 and up requires Unity 2020.3. And instead of adding it to your Assets folder it is now a zip that you unzip into your Packages folder.
It will then be installed as an Embedded Package through the Unity Package Manager.

alrighty cool, thanks! 

Can you please fix the "AssetImporterEditor.ResetValues() is obsolete" warning for Unity Version 2022 and higher?

Have upgrade it myself.I have no experience with github otherwise i can offer my changes there.

(+2)

These warnings should all be fixed now that ST2U is available as a proper UMP package. Thank-you for your patience. This has been a long time coming.

Great stuff.Have add it via OpenUPM.

OpenUPM? Can you tell me a bit about that?

(1 edit)

if the screenshot is to tiny...open the image in a new tab.

(1 edit) (+1)

It's another installation method for a unity package. Instead of dropping a folder into the packages folder locally, it can be downloaded straight from the unity package manager, even checking for and downloading updates with an easy update button. You can request the OpenUPM devs to have your repo be recognized and be added to the OpenUPM ecosystem. Google about it to find out more, but it's very cool!

Five year later, this project is still here, and keeps updating, amazing.
Great job, and a huge thanks!

  • 我今天要用这个软件。谢谢

Sorry for that question, but would you provide a Godot 4 version too?

https://github.com/Kiamo2/YATI

Could i use this with a 3d plane?

I really appreciate the amount of work that goes into this project.

Viewing most recent comments 2 to 15 of 95 · Next page · Last page