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
- Joint Physics result in unexpected behaviors when used for articulated vehicles like buses or trucks
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts which worked with TMP Font Asset Creator
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!