unity_fps
unity_fps copied to clipboard
Prefab/Tree is missing (see details in description)
I just got this Git over my GitHub Desktop and imported it to Unity. There i got the message in my console:
A tree couldn't be loaded because the prefab is missing. UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
I got this error as well. How I fixed it was, open the Game Ground prefab. Select the Terrain component. Then, on the right side in the inspector, under the section titled "Terrain". Select the "Paint Trees" button. Select the tree under where it says "Trees", click the "Edit Trees" button and select "Remove Tree". Then, click the "Edit Trees" button again and select "Add Tree" this time. Look for "Tree" and proceed to add that prefab. You'll also have to actually add the trees by clicking the "Mass Place Trees" button and I chose 100 for the number of trees to add.
Essentially, removing and readding the tree prefab just worked for me. Not sure if this is the actual solution.
EDIT Right clicking the tree prefab and selecting "Reimport" also fixed the issue for me.
what is the version of unity?