Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

5.0.3

Issue ID

DANB-1078

Regression

No

Creating a Custom Rule Tile Script throws error if 2D Pixel Perfect Sample is imported to the project

Package: 2D Tilemap

-

Steps to reproduce:
1. Create new Unity project
2. Open Package Manager
3. Import 2D packages pack (2D features)
4. Import 2D Pixel Perfect Sample
5. In Project window create Custom Rule Tile Script (Right-click > Create > 2D > Tiles > Custom Rule Tile Script)
6. Observe the Console window

\\
Actual results: “Assets/NewCustomRuleTile.cs(10,29): error CS0433: The type 'RuleTile' exists in both 'Unity.2D.PixelPerfect.Samples, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Unity.2D.Tilemap.Extras, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’” error is thrown after creating Custom Rule Tile Script

Expected results: No errors are thrown in the Console

\\
Reproducible with versions: 5.0.3 (6000.0.55f1), 5.1.0 (6000.1.15f1, 6000.2.0f1, 6000.3.0a4)

\\
Tested on (OS): macOS Silicon, Sequoia 15.5

  1. Resolution Note:

    The 2D Pixel Perfect samples are intended to work in isolation and being standalone, which will result in a conflict if the Tilemap Extras package is also present.
    As the Pixel Perfect package is deprecated, we no longer supporting and updating it.
    We will also update our 2D Features to remove the Pixel Perfect package from the list, which reduces the likelihood of this happening

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.