Top of tree disappears when approached by FP controller

Does anyone know why the top half of this tree disappears when I get close to it?

http://www.screencast.com/users/psimaster/folders/Jing/media/d9ee1f01-5d8d-4007-aaa0-12c924bf4bdc

Any comments are very appreciated! Thanks!

Looks like a bug in Unity. Is it Unity 3.0?

Hi,

Thanks for your reply. No. It’s Unity free v.2.6.1f3. What do you think?

Is the tree a single mesh or 2 meshes, one for the trunk and one for the leaves? Are you using the “Nature” shaders for the tree?

I’ve seen this in 3.0 (in the alpha days), but not in 2.6.

The tree has one mesh with three materials. One material for the trunk, one for the green leaves on the top, and one for the red leaves on the base of the trunk. I’m using the Nature Soft Occlusion shaders. The bark shader for the trunk and the leaves shader for the other two leaves.

Ok, technically trees on the terrain engine only support one mesh with two materials. Try combining the two leaf materials into one texture sheet. That should solve the problem.

Thanks! That’s probably it. I’ll give it a try and let you know if it works.