Search Issue Tracker

By Design

Votes

0

Found in

2019.2.0a10

Issue ID

1138788

Regression

Yes

[Tilemap] GridPalette namespace not found compile error

2D

-

When upgrading a project from 19.1 to 19.2, some scripts that call to GridPalette error with:
" The type or namespace name 'GridPalette' could not be found (are you missing a using directive or an assembly reference?)"

The Tilemap package is installed as well, but the script is still giving the same error.

Repro:
- download this project
- notice the script compile error.

Cannot reproduce in Unity 2019.1.0b8, 2019.2.0a1, 2019.1.0a6
Reproduced with Unity 2019.2.0a10 and 2019.2.0a9, a7

  1. Resolution Note:

    As part of moving the Tilemap Tooling to a package, the namespaces of all classes used have been consolidated to a single common namespace "UnityEditor.Tilemaps". This cannot be updated through API Updater or tagged with an Obsolete attribute.

    To resolve this, the user will need to manually use this new namespace, by adding "using UnityEditor.Tilemaps". Sorry for the inconvenience!

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.