Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Itchy Palette Tools

help yourself with this set of automated tools to develop 2D games in unity faster and efficiently · By Itchy Games

Itchy Palette namespace build errors?

A topic by Wiley Wiggins created 94 days ago Views: 34 Replies: 3
Viewing posts 1 to 4
(1 edit)

Has anyone seen build errors related to the palette tool scripts? My game is running normally in the editor but I get a bunch of namespace build errors like the following when I try to build:

(This is in unity editor 2022.3.44f1)

Assets/ItchyGames/Itchy Palette Tools/Scripts/SystemPaletteGenerator/SystemPaletteGenerator.cs(7,6): error CS0246: The type or namespace name ‘MenuItem’ could not be found (are you missing a using directive or an assembly reference?)

Assets/ItchyGames/Itchy Palette Tools/Scripts/SpriteAlphaTool/TexturePaletteTool.cs(12,6): error CS0246: The type or namespace name ‘MenuItemAttribute’ could not be found (are you missing a using directive or an assembly reference?)

Developer

the file must be inside an Editor folder (just create one in the Asset folder and put the file there)

(2 edits)

Got it, I was able to fix the build errors by placing Tools/Scripts/Core/ColorManager.cs, Tools/Scripts/SpriteAlphaTool/TexturePaletteTool.cs and Tools/Scripts/SystemPaletteGenerator/SystemPaletteGenerator.cs in editor folders inside the folders they were already in. TY!

Still having some weird build probs where a canvas is invisible but it might be my fault. I’ll futz with it.