Unity-Technologies / 2d-extras

Fun 2D Stuff that we'd like to share!
Other
1.56k stars 344 forks source link

Getting some Errors after import #193

Closed DavidDecraene closed 4 years ago

DavidDecraene commented 4 years ago
  1. cloned the github repository into Packages/com.unity.2d.tilemap.extras
  2. Added to the manifest.json: "com.unity.2d.tilemap.extras": "https://github.com/Unity-Technologies/2d-extras.git#master"

Console logs 38 errors, all from the Editor folder which cant seem to resolve the RunTime implementations:

E;g; Error all of this kind: Packages\com.unity.2d.tilemap.extras\Editor\Tiles\HexagonalRuleTile\HexagonalRuleTileEditor.cs(6,26): error CS0246: The type or namespace name 'HexagonalRuleTile' could not be found (are you missing a using directive or an assembly reference?)

Packages\com.unity.2d.tilemap.extras\Editor\Tiles\RuleTile\RuleTileEditor.cs(143,39): error CS0246: The type or namespace name 'RuleTile' could not be found (are you missing a using directive or an assembly reference?) etc etc

I can see the source files under Packages\com.unity.2d.tilemap.extras\Runtime\Tiles

DavidDecraene commented 4 years ago

Fixed by using package manager instead and providing the git url there

DryreL commented 3 years ago

Same problem here, I used package manager 2021.1.7f1

ChuanXin-Unity commented 3 years ago

Same problem here, I used package manager 2021.1.7f1

Hi, could you share the package version you are using from the Package Manager? Thanks!

DryreL commented 3 years ago

Same problem here, I used package manager 2021.1.7f1

Hi, could you share the package version you are using from the Package Manager? Thanks!

image

Hi, it was 2.0.0 version

And I'm getting bunch of errors...

image

ChuanXin-Unity commented 3 years ago

Hi, I tried installing the 2.0.0 package with Unity 2021.1.7f1, but did not have any issues.

Would it be possible to share the full errors you are receiving the console log?

Alternatively, could you try download or clone the master branch of this repository into your project in the folder Packages/com.unity.2d.tilemap.extras , and see if you have any errors from this?

Thanks!

DryreL commented 3 years ago

Hi, I tried installing the 2.0.0 package with Unity 2021.1.7f1, but did not have any issues.

Would it be possible to share the full errors you are receiving the console log?

Alternatively, could you try download or clone the master branch of this repository into your project in the folder Packages/com.unity.2d.tilemap.extras , and see if you have any errors from this?

Thanks!

Hi,

Here's the log file for the 2.0.0 version:

Editor v2.0.0.log

I also tried to clone master branch using git URL in Unity. Version 2.2.1 installed.

image

But I'm still getting error unfortunately.

image

And while I was try to remove 2.2.1 cause crash on the Unity.

image

Here's the log file for 2.2.1: Editor 2.2.1.log

Thanks in advance!

ChuanXin-Unity commented 3 years ago

Thanks for the Editor log! There seem to be duplicate files containing the same code as the package which causes a conflict.

Would it possible to remove the duplicates from Assets/Plugins/CorgiEngine/ThirdParty/Tilemap/2dExtras/ and try again?

[Package Manager] Done registering packages in 0.03s seconds GUID [139f9377103555b49b8dcd62686df3bf] for asset 'Packages/com.unity.2d.tilemap.extras/Editor/Tiles/RuleTile/RuleTileEditor.cs' conflicts with: 'Assets/Plugins/CorgiEngine/ThirdParty/Tilemap/2dExtras/Tiles/Rule Tile/Scripts/Editor/RuleTileEditor.cs' (current owner) We can't assign a new GUID because the asset is in an immutable folder. The asset will be ignored.

GUID [e7bb9acb2cffc5f45abddc238a0ad9b0] for asset 'Packages/com.unity.2d.tilemap.extras/Runtime/GridInformation/GridInformation.cs' conflicts with: 'Assets/Plugins/CorgiEngine/ThirdParty/Tilemap/2dExtras/GridInformation/Scripts/GridInformation.cs' (current owner) We can't assign a new GUID because the asset is in an immutable folder. The asset will be ignored.

GUID [13b75c95f34a00d4e8c04f76b73312e6] for asset 'Packages/com.unity.2d.tilemap.extras/Runtime/Tiles/AnimatedTile/AnimatedTile.cs' conflicts with: 'Assets/Plugins/CorgiEngine/ThirdParty/Tilemap/2dExtras/Tiles/Animated Tile/Scripts/AnimatedTile.cs' (current owner) We can't assign a new GUID because the asset is in an immutable folder. The asset will be ignored.

GUID [25192638efa881c469b1ac4d8cfd3f1b] for asset 'Packages/com.unity.2d.tilemap.extras/Runtime/Tiles/PipelineTile/PipelineTile.cs' conflicts with: 'Assets/Plugins/CorgiEngine/ThirdParty/Tilemap/2dExtras/Tiles/Pipeline Tile/Scripts/PipelineTile.cs' (current owner) We can't assign a new GUID because the asset is in an immutable folder. The asset will be ignored.

GUID [535f8e525ff367c4ba67961e201a05ed] for asset 'Packages/com.unity.2d.tilemap.extras/Runtime/Tiles/RandomTile/RandomTile.cs' conflicts with: 'Assets/Plugins/CorgiEngine/ThirdParty/Tilemap/2dExtras/Tiles/Random Tile/Scripts/RandomTile.cs' (current owner) We can't assign a new GUID because the asset is in an immutable folder. The asset will be ignored.

GUID [9d1514134bc4fbd41bb739b1b9a49231] for asset 'Packages/com.unity.2d.tilemap.extras/Runtime/Tiles/RuleTile/RuleTile.cs' conflicts with: 'Assets/Plugins/CorgiEngine/ThirdParty/Tilemap/2dExtras/Tiles/Rule Tile/Scripts/RuleTile.cs' (current owner) We can't assign a new GUID because the asset is in an immutable folder. The asset will be ignored.

GUID [f6e4e4fc705376343a3e65b25d94f0e2] for asset 'Packages/com.unity.2d.tilemap.extras/Runtime/Tiles/TerrainTile/TerrainTile.cs' conflicts with: 'Assets/Plugins/CorgiEngine/ThirdParty/Tilemap/2dExtras/Tiles/Terrain Tile/Scripts/TerrainTile.cs' (current owner) We can't assign a new GUID because the asset is in an immutable folder. The asset will be ignored.

DryreL commented 3 years ago

Thanks, it solved my problem!