[Solved]I am having a trouble with trees.

So one moment the trees in my map will be looking nice. But then when I go to save it, all of the trees disappear, and I get the error, “A tree couldn’t be loaded because the prefab is missing. Please select any instance of the new terrain asset in a scene and make it reference only tree prefabs that exist”. When I first got this error I selected my terrain and assigned the tree under the “Place Trees” part of the terrain, but then when I went to go save it, I got the SAME problem! How can I fix this?

If anybody is wondering, I was pressing a button in that place where it shows the leaves and branches, which disables the leaf/branch. Sorry if this doesn’t make sense…

If it’s no problem, I would like explain the solution.

1 - Create a new object prefab following the path (Assets → Create → Prefab):

2 - Name the prefab

3 - Drag the object Tree to the to the previously created prefab

4 - Go to “Place Trees” menu on Terrain

5 - Go to Edit Trees option

6 - Select “Add Tree”

7 - Drag the previously created prefab to Tree option and clic on Add:

57775-004.jpg

8 - Add your new Prefab Trees to the scene by using the Place Trees Brush

9 - Save your project and enjoy