- Home /
TerrainData is missing splat texture (0,1,2,3)
Hello!
When re-importing the assets to my project I get four errors stating that TerrainData is missing splat texture 0 (1,2,3).
What does this mean and is there a fix?
When I downloaded an asset that had a terrain, the terrain had textures that weren't there and that's what I got the message for.
Answer by Eldoir · Mar 06, 2017 at 09:29 AM
I would want to add my personal experience. @ChaoticCherryCake is a good answer but still I will explain what happened to me.
I had this error message : "TerrainData is missing splat texture 6". So I select my Terrain and go in the "Paint Texture" tab (with the brush icon). I notice I have 6 textures. (first image below)
But as a programmer, I think maybe the error message is counting textures from 0. So the 6th texture would be at index 5. I click where my 7th texture (index 6) should be... (second image) Bingo. The texture was here but invisible. What a weird bug !! Still don't know how it happened, but I'm glad to see it fixed. Hope it will help you guys :)
Answer by ChaoticCherryCake · Sep 05, 2015 at 12:51 AM
It may be a bit late, but I think the terrainData can't find the textures. So I think you need to reassign the textures of the terrain.
Answer by wisher_wisher · Dec 04, 2017 at 09:54 PM
Hello sorry for my bad english language . i solved this: for example if u choose this texture "GrassHillAlbedo" search for it in your project>Standard Assets>Environment files in unity , then click on it , then in inspector window under the advanced option for "GrassHillAlbedo" u can find a check box that says "Read/Write Enable" mark it and then apply in the bottom . make sure u are not in play mode when you are doing this . and remove your texture and add it again then start play mode it should worked.
and for be more careful u can also change your whole default save project from Users>public>.... to a new location in your PC that don't be in public folder .
Pode comentar em português por favor? meu caso é que eu apaguei dentro da unity, e o erro só aparece quando vou construir o jogo, antes disso roda normalmente, depois que tento construir ele não deixa que eu rode o jogo novamente por causa do erro
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
TerrainData missing splat texture after every collab sync 1 Answer
Awesome Bump shader in Unty? 0 Answers
How to render black borders around texture of simple 3D quad in c#? 0 Answers