Detail meshes disappearing in build.

I created a large desert terrain 10k X 10k.

Then I added a bunch of desert shrubbery through the terrain grass / detail mesh interface.

Everything looked great when I ran the game in the editor. Smooth frame rate, Good shrub density to a reasonable distance, etc.

Then I created a standalone Windows exe to send to a friend.

When I fired it up, everything looked fine but probably 95% of the shrubs were gone. I either see none at all or they disappear much closer to the camera than when running in the editor.

I’m guessing the distance is about 150 m in the editor and about 15 m in the stand alone executable.

Any ideas what I might be doing wrong or some setting to check?

I’m running version 3 in Vista and doing a standalone Windows build with developer build unchecked.

Thanks in advance for any info.

I’ve tried EVERYTHING to correct this problem since version 3, the bug has been reported but it aint gettin fixed :(, there is a workaround though, delete all your detail meshes and readd them, that seems to fix the problem for now

@Chaoss how long ago did you submit a bug report?

Got the same results - after building exe - grass only draw in first few meters.

Any ideas before i hit Unity3d with this?

Recreating all detail meshes is not a good idea - i got very large map.

Same problem for me, all grasses and details meshes appears near the camera in build (no problem inside unity). I think that you can solve this problem by using only square textures and same size for all grasses/objects painted on terrain.

There should be a limit for the total detail texture. I think an atlas is created with the grass textures. I had this same issue here. I did some tests and I checked that the limit is 2048x2048. However, I think this limit may vary depends on platform/machine. So, it may be different for you.

I’ve been using textures with compress method to RGBA Compressed DXT5, and it did not matter if it was not squared textures. I hope it helps.

I’m having the same issue but my detail meshes only appear when you’re about 5m from them in a webplayer that’s loading in Asset Bundled scenes. I’ve also tried adding the terrain scenes to the BuildSettings and using LoadLevelAdditive to load them and have the same problem, so the issue is not necessarily directly related to Asset Bundles. In the editor they appear fine at distance but disappear once published.

I’m not using very many textures that don’t get anywhere near 2048x2048 so that’s not the problem - and they’re all square.

Did any of you get a resolution to this issue - or is there anyone else out there who knows what the problem is?

Thanks in advance.