Search Issue Tracker
By Design
Votes
0
Found in
2019.2.0a10
Issue ID
1138788
Regression
Yes
[Tilemap] GridPalette namespace not found compile error
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
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!