Tiled2Unity Mac


#1

Hi,
I tried to use the latest version of Tiled2Mac(v 1.0.12.4) to import Tiled maps into my Unity projects. When I process the map through Tiled2Unity App, it shows a success but when I switch to the open Unity Project, I get the following warnings and errors:

Refresh: elapses 0.107813 seconds
Updating Assets/Tiled2Unity/Imported/Bogdha.tiled2unity.xml - GUID: d5f1f7f82cfa744a285904ca339670e2...
 done. [Time: 14.725241 ms] 
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Imported/Bogdha.tiled2unity.xml'
Anti-aliasing is enabled and may cause seams. See Edit->Project Settings->Quality to disable.
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
Tiled2Unity.ImportBehaviour:RecordWarning(String, Object[]) (at Assets/Tiled2Unity/Scripts/Runtime/ImportBehaviour.cs:165)
Tiled2Unity.ImportTiled2Unity:CheckSettings(ImportBehaviour) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Xml.cs:91)
Tiled2Unity.ImportTiled2Unity:ImportBegin(String, ImportTiled2Unity) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Xml.cs:37)
Tiled2Unity.TiledAssetPostProcessor:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Assets/Tiled2Unity/Scripts/Editor/TiledAssetPostProcessor.cs:83)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[]) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:27)
 
(Filename: Assets/Tiled2Unity/Scripts/Runtime/ImportBehaviour.cs Line: 165)

Updating Assets/Tiled2Unity/Materials/tileset_0.mat - GUID: 436b7f21b66394f0b94e1065cc436eba...
----- Compute hash for Assets/Tiled2Unity/Materials/tileset_0.mat.
 done. [Time: 29.245907 ms] 
Updating Assets/Tiled2Unity/Materials/tileset_5.mat - GUID: 971d89ccaab2c4570b8e59bd9a6a8810...
----- Compute hash for Assets/Tiled2Unity/Materials/tileset_5.mat.
 done. [Time: 5.708050 ms] 
Updating Assets/Tiled2Unity/Materials/tileset_3.mat - GUID: ccbaae045dc6e429d89ca4eaa768a0e3...
----- Compute hash for Assets/Tiled2Unity/Materials/tileset_3.mat.
 done. [Time: 5.666050 ms] 
Updating Assets/Tiled2Unity/Materials/tileset_11.mat - GUID: cfa0c14d5f8a6444299db811b6e752dc...
----- Compute hash for Assets/Tiled2Unity/Materials/tileset_11.mat.
 done. [Time: 5.502755 ms] 
Updating Assets/Tiled2Unity/Materials/tileset_1.mat - GUID: 12301e221fd3a40588adaef4c7dbba9d...
----- Compute hash for Assets/Tiled2Unity/Materials/tileset_1.mat.
 done. [Time: 10.459129 ms] 
Updating Assets/Tiled2Unity/Materials/tileset_6.mat - GUID: 68f878e17b22f4e01b6c70360e6edc6c...
----- Compute hash for Assets/Tiled2Unity/Materials/tileset_6.mat.
 done. [Time: 5.891053 ms] 
Updating Assets/Tiled2Unity/Materials/holeImg.mat - GUID: 749428788285448279f08983a1786dc8...
----- Compute hash for Assets/Tiled2Unity/Materials/holeImg.mat.
 done. [Time: 26.706020 ms] 
Updating Assets/Tiled2Unity/Materials/tileset_24.mat - GUID: 31db0c05f8b6f4504b029be7e549dfc4...
----- Compute hash for Assets/Tiled2Unity/Materials/tileset_24.mat.
 done. [Time: 5.955817 ms] 
[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Imported/Bogdha.tiled2unity.xml'
Updating Assets/Tiled2Unity/Materials/tileset_1.mat - GUID: 12301e221fd3a40588adaef4c7dbba9d...
 done. [Time: 58.401016 ms] 
Updating Assets/Tiled2Unity/Materials/tileset_24.mat - GUID: 31db0c05f8b6f4504b029be7e549dfc4...
 done. [Time: 116.454674 ms] 
Updating Assets/Tiled2Unity/Materials/tileset_0.mat - GUID: 436b7f21b66394f0b94e1065cc436eba...
 done. [Time: 180.338120 ms] 
Updating Assets/Tiled2Unity/Materials/tileset_6.mat - GUID: 68f878e17b22f4e01b6c70360e6edc6c...
 done. [Time: 35.386101 ms] 
Updating Assets/Tiled2Unity/Materials/holeImg.mat - GUID: 749428788285448279f08983a1786dc8...
 done. [Time: 7.806844 ms] 
Updating Assets/Tiled2Unity/Materials/tileset_5.mat - GUID: 971d89ccaab2c4570b8e59bd9a6a8810...
 done. [Time: 8.413791 ms] 
Updating Assets/Tiled2Unity/Materials/tileset_3.mat - GUID: ccbaae045dc6e429d89ca4eaa768a0e3...
 done. [Time: 8.123140 ms] 
Updating Assets/Tiled2Unity/Materials/tileset_11.mat - GUID: cfa0c14d5f8a6444299db811b6e752dc...
 done. [Time: 34.534931 ms] 
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Materials/tileset_0.mat'
[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Materials/tileset_0.mat'
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Materials/tileset_6.mat'
[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Materials/tileset_6.mat'
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Materials/tileset_1.mat'
[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Materials/tileset_1.mat'
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Materials/tileset_3.mat'
[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Materials/tileset_3.mat'
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Materials/tileset_24.mat'
[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Materials/tileset_24.mat'
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Materials/holeImg.mat'
[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Materials/holeImg.mat'
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Materials/tileset_5.mat'
[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Materials/tileset_5.mat'
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Materials/tileset_11.mat'
[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Materials/tileset_11.mat'
Updating Assets/Tiled2Unity/Meshes/Bogdha - GUID: e21b54a7e244144d897694c6821952ec...
 done. [Time: 105.348297 ms] 
Updating Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0010.obj - GUID: 0fe390d9a758240dbba5691c0c11d38f...
----- Compute hash for Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0010.obj.
ImportFBX Warnings:
Mesh 'Bogdha_mesh_0010' has 64 (out of 64) invalid vertices (NaNs). They will be assigned value (0,0,0). The list of vertices: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and so on...

 
(Filename: /Users/builduser/buildslave/unity/build/Editor/Src/AssetPipeline/FBXImporter.cpp Line: 550)

 done. [Time: 111.320419 ms] 
Updating Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0008.obj - GUID: 259924084a87749079644c849f99e8c8...
----- Compute hash for Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0008.obj.
ImportFBX Warnings:
Mesh 'Bogdha_mesh_0008' has 1200 (out of 1200) invalid vertices (NaNs). They will be assigned value (0,0,0). The list of vertices: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and so on...

 
(Filename: /Users/builduser/buildslave/unity/build/Editor/Src/AssetPipeline/FBXImporter.cpp Line: 550)

 done. [Time: 36.282059 ms] 
Updating Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0001.obj - GUID: 53f9c2f8ae6914a748f3b933647c4d05...
----- Compute hash for Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0001.obj.
ImportFBX Warnings:
Mesh 'Bogdha_mesh_0001' has 332 (out of 332) invalid vertices (NaNs). They will be assigned value (0,0,0). The list of vertices: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and so on...

 
(Filename: /Users/builduser/buildslave/unity/build/Editor/Src/AssetPipeline/FBXImporter.cpp Line: 550)

 done. [Time: 112.598511 ms] 
Updating Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0003.obj - GUID: 65cf8f09cbafd4cefa539d39c83d74b5...
----- Compute hash for Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0003.obj.
ImportFBX Warnings:
Mesh 'Bogdha_mesh_0003' has 24 (out of 24) invalid vertices (NaNs). They will be assigned value (0,0,0). The list of vertices: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and so on...

 
(Filename: /Users/builduser/buildslave/unity/build/Editor/Src/AssetPipeline/FBXImporter.cpp Line: 550)

 done. [Time: 31.552065 ms] 
Updating Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0011.obj - GUID: 862c4196d3b384965b4f2f208f788c49...
----- Compute hash for Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0011.obj.
ImportFBX Warnings:
Mesh 'Bogdha_mesh_0011' has 4 (out of 4) invalid vertices (NaNs). They will be assigned value (0,0,0). The list of vertices: 0, 1, 2, 3

 
(Filename: /Users/builduser/buildslave/unity/build/Editor/Src/AssetPipeline/FBXImporter.cpp Line: 550)

 done. [Time: 25.973421 ms] 
Updating Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0005.obj - GUID: 8ac40bdd6709f4c47a98aaac7851f984...
----- Compute hash for Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0005.obj.
ImportFBX Warnings:
Mesh 'Bogdha_mesh_0005' has 260 (out of 260) invalid vertices (NaNs). They will be assigned value (0,0,0). The list of vertices: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and so on...

 
(Filename: /Users/builduser/buildslave/unity/build/Editor/Src/AssetPipeline/FBXImporter.cpp Line: 550)

 done. [Time: 28.096262 ms] 
Updating Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0009.obj - GUID: 8dbfa97bd6acb4baea407436ff76cfc6...
----- Compute hash for Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0009.obj.
ImportFBX Warnings:
Mesh 'Bogdha_mesh_0009' has 192 (out of 192) invalid vertices (NaNs). They will be assigned value (0,0,0). The list of vertices: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and so on...

 
(Filename: /Users/builduser/buildslave/unity/build/Editor/Src/AssetPipeline/FBXImporter.cpp Line: 550)

 done. [Time: 27.232466 ms] 
Updating Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0002.obj - GUID: a2a8d0524ab45447782efbc1f98eae2a...
----- Compute hash for Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0002.obj.
ImportFBX Warnings:
Mesh 'Bogdha_mesh_0002' has 4 (out of 4) invalid vertices (NaNs). They will be assigned value (0,0,0). The list of vertices: 0, 1, 2, 3

 
(Filename: /Users/builduser/buildslave/unity/build/Editor/Src/AssetPipeline/FBXImporter.cpp Line: 550)

 done. [Time: 25.821947 ms] 
Updating Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0007.obj - GUID: cdd3652f69eb0456fbd846ea2ed1ca9b...
----- Compute hash for Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0007.obj.
ImportFBX Warnings:
Mesh 'Bogdha_mesh_0007' has 12 (out of 12) invalid vertices (NaNs). They will be assigned value (0,0,0). The list of vertices: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and so on...

 
(Filename: /Users/builduser/buildslave/unity/build/Editor/Src/AssetPipeline/FBXImporter.cpp Line: 550)

 done. [Time: 76.945908 ms] 
Updating Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0004.obj - GUID: d4c9fe132d1ed4509bcaa678c2dc1939...
----- Compute hash for Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0004.obj.
ImportFBX Warnings:
Mesh 'Bogdha_mesh_0004' has 356 (out of 356) invalid vertices (NaNs). They will be assigned value (0,0,0). The list of vertices: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and so on...

 
(Filename: /Users/builduser/buildslave/unity/build/Editor/Src/AssetPipeline/FBXImporter.cpp Line: 550)

 done. [Time: 70.391838 ms] 
Updating Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0006.obj - GUID: f9cb6d1bce7e8479197d328634d7c233...
----- Compute hash for Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0006.obj.
ImportFBX Warnings:
Mesh 'Bogdha_mesh_0006' has 324 (out of 324) invalid vertices (NaNs). They will be assigned value (0,0,0). The list of vertices: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and so on...

 
(Filename: /Users/builduser/buildslave/unity/build/Editor/Src/AssetPipeline/FBXImporter.cpp Line: 550)

 done. [Time: 28.239162 ms] 
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0002.obj'
[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0002.obj'
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0004.obj'
[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0004.obj'
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0011.obj'
[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0011.obj'
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0008.obj'
[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0008.obj'
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0001.obj'
[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0001.obj'
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0003.obj'
[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0003.obj'
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0010.obj'
[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0010.obj'
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0006.obj'
[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0006.obj'
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0009.obj'
[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0009.obj'
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0005.obj'
[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0005.obj'
[Tiled2Unity]Begin: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0007.obj'
Couldn't add TiledMap component. Are you using an old version of Tiled2Unity in your Unity project?
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
Tiled2Unity.ImportBehaviour:RecordWarning(String, Object[]) (at Assets/Tiled2Unity/Scripts/Runtime/ImportBehaviour.cs:165)
Tiled2Unity.ImportTiled2Unity:HandleTiledAttributes(GameObject, XElement, ImportBehaviour) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs:636)
Tiled2Unity.ImportTiled2Unity:CreatePrefab(XElement, ImportBehaviour) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs:59)
Tiled2Unity.ImportTiled2Unity:ImportAllPrefabs(ImportBehaviour) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs:47)
Tiled2Unity.ImportTiled2Unity:MeshImported(String) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Mesh.cs:39)
Tiled2Unity.TiledAssetPostProcessor:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Assets/Tiled2Unity/Scripts/Editor/TiledAssetPostProcessor.cs:98)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[]) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:27)
 
(Filename: Assets/Tiled2Unity/Scripts/Runtime/ImportBehaviour.cs Line: 165)

transform.localPosition assign attempt for 'bg' is not valid. Input localPosition is { NaN, NaN, 0.000000 }.
UnityEngine.Transform:INTERNAL_set_localPosition(Vector3&)
UnityEngine.Transform:set_localPosition(Vector3) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/TransformBindings.gen.cs:42)
Tiled2Unity.ImportTiled2Unity:AddGameObjectsTo(GameObject, XElement, Boolean, ImportBehaviour, IList`1) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs:145)
Tiled2Unity.ImportTiled2Unity:CreatePrefab(XElement, ImportBehaviour) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs:65)
Tiled2Unity.ImportTiled2Unity:ImportAllPrefabs(ImportBehaviour) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs:47)
Tiled2Unity.ImportTiled2Unity:MeshImported(String) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Mesh.cs:39)
Tiled2Unity.TiledAssetPostProcessor:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Assets/Tiled2Unity/Scripts/Editor/TiledAssetPostProcessor.cs:98)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[]) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:27)

[/Users/builduser/buildslave/unity/build/Runtime/Transform/Transform.cpp line 753] 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/TransformBindings.gen.cs Line: 42)

transform.localPosition assign attempt for 'outsidewalls' is not valid. Input localPosition is { NaN, NaN, 0.000000 }.
UnityEngine.Transform:INTERNAL_set_localPosition(Vector3&)
UnityEngine.Transform:set_localPosition(Vector3) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/TransformBindings.gen.cs:42)
Tiled2Unity.ImportTiled2Unity:AddGameObjectsTo(GameObject, XElement, Boolean, ImportBehaviour, IList`1) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs:145)
Tiled2Unity.ImportTiled2Unity:CreatePrefab(XElement, ImportBehaviour) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs:65)
Tiled2Unity.ImportTiled2Unity:ImportAllPrefabs(ImportBehaviour) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs:47)
Tiled2Unity.ImportTiled2Unity:MeshImported(String) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Mesh.cs:39)
Tiled2Unity.TiledAssetPostProcessor:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Assets/Tiled2Unity/Scripts/Editor/TiledAssetPostProcessor.cs:98)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[]) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:27)

[/Users/builduser/buildslave/unity/build/Runtime/Transform/Transform.cpp line 753] 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/TransformBindings.gen.cs Line: 42)

transform.localPosition assign attempt for 'insidewalls' is not valid. Input localPosition is { NaN, NaN, 0.000000 }.
UnityEngine.Transform:INTERNAL_set_localPosition(Vector3&)
UnityEngine.Transform:set_localPosition(Vector3) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/TransformBindings.gen.cs:42)
Tiled2Unity.ImportTiled2Unity:AddGameObjectsTo(GameObject, XElement, Boolean, ImportBehaviour, IList`1) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs:145)
Tiled2Unity.ImportTiled2Unity:CreatePrefab(XElement, ImportBehaviour) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs:65)
Tiled2Unity.ImportTiled2Unity:ImportAllPrefabs(ImportBehaviour) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs:47)
Tiled2Unity.ImportTiled2Unity:MeshImported(String) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Mesh.cs:39)
Tiled2Unity.TiledAssetPostProcessor:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Assets/Tiled2Unity/Scripts/Editor/TiledAssetPostProcessor.cs:98)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[]) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:27)

[/Users/builduser/buildslave/unity/build/Runtime/Transform/Transform.cpp line 753] 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/TransformBindings.gen.cs Line: 42)

transform.localPosition assign attempt for 'colliders' is not valid. Input localPosition is { NaN, NaN, 0.000000 }.
UnityEngine.Transform:INTERNAL_set_localPosition(Vector3&)
UnityEngine.Transform:set_localPosition(Vector3) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/TransformBindings.gen.cs:42)
Tiled2Unity.ImportTiled2Unity:AddGameObjectsTo(GameObject, XElement, Boolean, ImportBehaviour, IList`1) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs:145)
Tiled2Unity.ImportTiled2Unity:CreatePrefab(XElement, ImportBehaviour) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs:65)
Tiled2Unity.ImportTiled2Unity:ImportAllPrefabs(ImportBehaviour) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs:47)
Tiled2Unity.ImportTiled2Unity:MeshImported(String) (at Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Mesh.cs:39)
Tiled2Unity.TiledAssetPostProcessor:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Assets/Tiled2Unity/Scripts/Editor/TiledAssetPostProcessor.cs:98)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[]) (at /Users/builduser/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:27)

[/Users/builduser/buildslave/unity/build/Runtime/Transform/Transform.cpp line 753] 
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/TransformBindings.gen.cs Line: 42)

[Tiled2Unity]End: Importing 'Assets/Tiled2Unity/Meshes/Bogdha/Bogdha_mesh_0007.obj'
FormatException: Unknown char: I
  at System.Double.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00012] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Double.cs:209 
  at System.Single.Parse (System.String s, IFormatProvider provider) [0x00000] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Single.cs:193 
  at System.Convert.ToSingle (System.String value, IFormatProvider provider) [0x0000c] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Convert.cs:1703 
  at Tiled2Unity.ImportUtils.GetAttributeAsFloat (System.Xml.Linq.XElement elem, System.String attrName) [0x00017] in /Users/mac6/Nidhi/Projects/Unity/TiledTest/Assets/Tiled2Unity/Scripts/Editor/ImportUtils.cs:52 
  at Tiled2Unity.ImportUtils.GetAttributeAsFloat (System.Xml.Linq.XElement elem, System.String attrName, Single defaultValue) [0x0001e] in /Users/mac6/Nidhi/Projects/Unity/TiledTest/Assets/Tiled2Unity/Scripts/Editor/ImportUtils.cs:62 
  at Tiled2Unity.ImportTiled2Unity.AddGameObjectsTo (UnityEngine.GameObject parent, System.Xml.Linq.XElement xml, Boolean isParentTrigger, Tiled2Unity.ImportBehaviour importComponent, IList`1 customImporters) [0x000fc] in /Users/mac6/Nidhi/Projects/Unity/TiledTest/Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs:142 
  at Tiled2Unity.ImportTiled2Unity.AddGameObjectsTo (UnityEngine.GameObject parent, System.Xml.Linq.XElement xml, Boolean isParentTrigger, Tiled2Unity.ImportBehaviour importComponent, IList`1 customImporters) [0x001bb] in /Users/mac6/Nidhi/Projects/Unity/TiledTest/Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs:169 
  at Tiled2Unity.ImportTiled2Unity.CreatePrefab (System.Xml.Linq.XElement xmlPrefab, Tiled2Unity.ImportBehaviour importComponent) [0x0005e] in /Users/mac6/Nidhi/Projects/Unity/TiledTest/Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs:65 
  at Tiled2Unity.ImportTiled2Unity.ImportAllPrefabs (Tiled2Unity.ImportBehaviour importComponent) [0x00032] in /Users/mac6/Nidhi/Projects/Unity/TiledTest/Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs:47 
  at Tiled2Unity.ImportTiled2Unity.MeshImported (System.String objPath) [0x0004e] in /Users/mac6/Nidhi/Projects/Unity/TiledTest/Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Mesh.cs:39 
  at Tiled2Unity.TiledAssetPostProcessor.OnPostprocessAllAssets (System.String[] importedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromPath) [0x000a9] in /Users/mac6/Nidhi/Projects/Unity/TiledTest/Assets/Tiled2Unity/Scripts/Editor/TiledAssetPostProcessor.cs:98 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222 
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000eb] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115 
  at UnityEditor.AssetPostprocessingInternal.PostprocessAllAssets (System.String[] importedAssets, System.String[] addedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromPathAssets) [0x00053] in /Users/builduser/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:27 
 
(Filename: /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Double.cs Line: 209)

The same version of Tiled2Unity works on my friends Windows with the same map. Any idea on how to fix the issues so that Tiled2Unity works properly on my Mac?


(Seanba) #2

I wonder if you’re running into some kind of localization issue with the way floating point numbers are expected to be parsed from strings. What locale or language are you running your Mac in?


#3

On my machine, the region is set to United States and the Language is set to English.


(Seanba) #4

We discovered this was a problem with the “Pixels Per Unit” setting being giving a value of zero. I’ve put in protections against this in a future build. For the time being, if you get this error make sure you have PPU set to a positive number greater than zero.