Troubleshooting
These are some of the errors you might encounter and how to fix them:
- Polybrush does not appear in the Tools menu after installation.
- Painting colors or Textures doesn't work.
- Can't find example Shaders.
- Errors when importing example Shaders.
- Mesh automatically resets to a source Mesh after few seconds when baking lightmaps (or if the Lightmap's Auto Generate property is enabled).
Polybrush does not appear in the Tools menu after installation
This might happen when an exception occurs in the Editor. Check the Console to see whether you see the exception error.
Painting colors or Textures doesn't work
If you see the brush when you hover over the Mesh, the tool is working correctly. If the Texture or color does not appear, it might be because of a problem with the Shader.
- If you are painting vertex colors, make sure you use a compatible Shader.
- If you are painting Textures, make sure you apply a compatible Shader and configure it correctly in the Polybrush panel.
Can't find example Shaders
Unity does not import examples by default when you install Polybrush. You can install them from inside the Package Manager. For more information, see Importing Polybrush Shaders.
Errors when importing example Shaders
Each set of Shaders is made for a specific rendering pipeline. Make sure to import the one that is appropriate for your Project. You can tell which rendering pipeline it is for by its name.
Mesh automatically resets
The Mesh automatically resets to a source Mesh after few seconds when baking lightmaps (or if the Lightmap's Auto Generate property is enabled)
This is a known issue between Additional Vertex Stream and lightmaps. Baking lightmaps erases the Additional Vertex Stream from the MeshRenderer. However, data is not lost because it is stored in the PolybrushMesh component. To work around this, set the PolybrushMesh component's Apply As property to Overwrite Mesh.