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
- Console shows Exception: {"error":"not found","detail":["not found"]} after opening Build History window
- [HDRP] Volumetric cloud shadows disappear when there is no directional light shadows
- “Selector” column names in the Search window are lowercase when added
- Install List Project Counter Panel can be right clicked through and Install Context Menu can be opened disabling Project Counter Panel's buttons
- [MacOS] Scene is marked/flickering as dirty (with asterisk) when dragging a Material on a GameObject in Scene view
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!