Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefab/Tree is missing (see details in description) #2

Open
wellseo opened this issue May 11, 2019 · 2 comments
Open

Prefab/Tree is missing (see details in description) #2

wellseo opened this issue May 11, 2019 · 2 comments

Comments

@wellseo
Copy link

wellseo commented May 11, 2019

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)

@chris-gong
Copy link

chris-gong commented May 28, 2019

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.
Capture
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.

@redshift-cyber
Copy link

what is the version of unity?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants