Search Issue Tracker
Fixed in 2019.2.X
Fixed in 2019.1.X
Votes
1
Found in
5.4.0b8
Issue ID
776013
Regression
No
[DetailMesh] Unable to paint detail mesh when terrain contains assigned grass texture
Steps to repro:
1. Open Unity;
2. Create new project;
3. Import attached ‘DetailMeshBug’ package;
4. Double click on ‘Terrain’ gameobject in the Hierarchy;
5. Go to ‘Paint Details’ tab of terrain’s component;
6. Notice that there is grass texture along with ‘Cube’ detail mesh (without material’s texture) added;
7. Select ‘Grass' texture in Inspector;
8. Paint ‘Grass' texture on terrain in Scene view;
9. Select ‘Cube’ detail mesh in Inspector;
10. Try to paint ‘Cube’ detail mesh on terrain.
Actual result:
Nothing happens (see attached gif video). When grass texture is added, detail mesh could not be painted on terrain. Inconsistent behaviour within product, because when we have only one detail mesh added (without grass texture) - it’s painted successfully.
Expected result:
User should always be able to paint detail mesh on terrain, even with grass texture added.
Workaround is either to remove grass texture or to add texture to detail mesh’s material and save scene.
Notes:
- Reproducible in: 5.5.0f2, 5.4.0b8, 5.3.3p2, 5.3.3f1, 5.3.2f1;
- Reproducible on both OSX 10.11.3 and Windows 10;
- Interesting behaviour happens, when you have only one cube detail mesh painted on terrain and then add grass texture - detail mesh disappears in this case.
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
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
Twinklier
Jul 28, 2018 00:45
I’m having a similiar problem. 5.4 as same.
-two grass textures, and one detail mesh.
-paint everything as usual.
-delete the second grass texture...
-poof! all the detail mesh is gone from the terrain.
I tried re-adding the detail mesh, and painting it again.
It seems like the mesh was there, as the game got laggier when I painted it with 100 opacity. It probably wasn’t rendering.