I have a scene with a lot of gras in it (maybe a little bit much, but I also tried with less gras instances)… I can see the gras in the editor, and also when I hit play.
But, as soon as I build the game, all gras disappears. The Terrain and other Objects are all normal, but the gras is gone (and once I got a crash and problems with the directional shadows after a minute or two).
Can someone point me in the direction as to what could be the problem? Is packing lots of gras into a scene leading to problems like that? (I place my gras procedurally, could that be the problem?)
I fear this is one of the problems that MIGHT disappear when recreating the whole project again and dragging in the assets piece by piece until it breaks… seems one of the assets is causing this trouble, haven’t found out which one yet …
This happened to me when I upgraded the project to Unity3. The only solution I had was to remove the grass detail things from the terrain completely, re-add them, then re-paint.
While I can’t help with your main problem, I can assure you that the amount of grass is not the issue. I’ve once - by error, while working on my terrain tools - filled the entire terrain with the highest possible grass density. Aside from some performance issues, it didn’t cause any trouble.
Tom, good to know. I fear it is one of this few issues that the Unity Editor still has… I think a regular new setup of the project would help… Sadly in my case this in itself is a longer thing as i have a lot of assets in my existing project.
Well, that didn’t work out that well… seems one of the trees I’m using is causing this problem. I imported them from the old project, and from this moment onwards I had the same problem in the new project. Well, this sucks!
Seems to be a rather serious bug in the Unity Editor…