Hello dear Unity community!
This should be the correct place to post this (hopefully).
I’ve used the latest Polybrush on Unity 2018.3.0b11 just recently (after removing LWRP due to compatibility issues) and struggled with a bug where it was telling me the material on the mesh I wanted to paint texture layers on is not using a supported shader, despite being from the Polybrush group of shaders (in this case Polybrush / Standard Texture Blend Bump). Therefore, instead of seeing a list of layers to select and paint my mesh with as in this video (which I followed step by step),
I simply had the warning message with blank space below or just blank space. The message can be seen here:

To clarify:
To be able to paint meshes with a polybrush material, I had to do the following hacky workaround (a result of desperate experimentation):
-
Create material, drag material on mesh, convert material to “Polybrush / Main Texture With Decals”
-
Fill slots in material, set tiling.
-
Testing whether painting now works with decals (it should, perhaps this step can even be omitted), selectable texture tiles should be visible instead of the aforementioned warning in the Polybrush tool.
-
Switch material shader to “Polybrush / Standard Texture Blend Bump” - suddenly it works just fine and normal maps can be added to the list.*
*There’s a possibility they appear darker than they should, though this could also be an issue of my materials, so this needs further checking.
Now through using the Polybrush / Main Texture With Decals shader, I was able to get a (fairly limited) layers list, which is a great start, but obviously this is not how it is supposed to be as I’m constantly getting warnings and errors in my console as seen below. They spam my console whenever my brush hovers above my mesh or I’m painting.
If anyone could verify whether they get this bug too or if they got a better solution to getting around this, that would be great as I’m dependent on the Polybrush tool. So far it is usable, but very limited.
tl;dr
Possible workflow to reproduce the bug:
Create project (Unity 2018.3.0b11) with LWRP, install Polybrush, remove LWRP, make material with a Polybrush shader, attempt texture painting. If it fails, use my workaround list from above, then it’ll magically work.
It’s a pretty cool tool and I hope it’ll be developed further.
Thanks in advance!
Sly.




