- Home /
Detail mesh paint is not working!
Whenever i select a detail mesh for detail mesh paint on my terrain, and start painting, nothing happens! I Paint and nothing appears. I have checked detail mesh settings, and they are all as they should be. I have seen other people with the same problem, so i know its a real bug. How do i fix it?
I'm using Unity 3.5.0f1 Pro
PS i am using an .obj file i created in blender and imported as an asset.
And please answer! I have already asked this question once, with no answers. So if you have just the slightest clue, do not hesitate to answer! Please ^^
This is not an answer, it is a comment. Please add it as a comment ins$$anonymous$$d.
How do you know if you're using a DCC app? What is it?
Aside from that I did what you suggested and still no luck.
I'm using Unity 4.1.5f1 and having the same troubles. I've checked all the suggested fixes in the numerous other threads about this and I am convinced it's NOT something I'm doing.
I've checked scale and rotation of the mesh and prefab. The mesh is a single mesh and UV map with single texture. The exported texture is a 512x512 texture saved as a 32bit B$$anonymous$$P. The mesh is a total of 34 quads (might wind up reducing this) that is centered over the origin of the model space. The model was created in $$anonymous$$odo 701 and exported as a Autodesk 2010 FBX (only FBX option in $$anonymous$$odo 701) and imported into Unity. The FBX was dragged into the scene (appears normally there and of correct size and rotation) then back into the project folder to create the prefab. The prefab was selected as the terrain detail to add. it shows up in the details view, I can select it but when I choose a brush and paint into the scene nothing happens. Brush size set to 10, opacity and target strength of 1.
Are there any answers to help solve this? Any help is most appreciated.
Im using Unity 5.1.1 and have the same bug! Cant believe Unity doesent fix this OBVIOUS ANNOYING BUG!!!
$$anonymous$$aking a 2-year old question re-appear is a bit pointless. If you have submitted a bug and not had a response for 2 years, then let me know.
Answer by jsunandmax · Jan 26, 2013 at 08:30 PM
This could be a variety of things, but I finally figured out what I was doing wrong. If your importing detail objects from a DCC app, be sure your scale and orientation are correct. If you scale them up in Unity (in your prefab for example), that scale value wont be respected by the 'paint detail' feature. It was working for me, but painting thousands of ultra-tiny rocks somehwere i couldn't see......
good way to debug is just create a new file, create terrain, and load 1 detail object. Use that as your test.
hope this helps,
jason
Answer by treyd3d · Apr 26, 2014 at 01:11 AM
I just ran into this problem. Just make sure the detail mesh you're using doesn't have a collider on the prefab. If there is a collider on the prefab for the detail mesh, you will not be able to paint it on the terrain. Remove any colliders, recreate the detail mesh in terrain portion of the inspector just to be overly cautious.
Update: Also it seems that if your detail mesh prefab uses a mesh renderer with more than one material element, that your detail mesh will not paint to the terrain.
Answer by ISTA33 · Sep 29, 2021 at 05:23 PM
I found the Solution ..
just click on the terrain and in the inspector go to terrain settings and assign the material is messing just click on the material bare and search for "default terrain .... " and click on it and it will work fine !
if you wan't to donate (paypal) : "brsm1975@gmail.com" (:
Your answer
Follow this Question
Related Questions
Procedurally generated mesh randomly appearing invisible 2 Answers
Detail mesh normals sometimes flipped inside. 0 Answers
Why my Rock Meshes are invisible in the scene and visible in the game? 3 Answers
Cant see rock mesh in scene, but can see them in game. 1 Answer
How could i make my character invisable - but allow my player to still be damaged 2 Answers