Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialThanitsak Leuangsupornpong
7,490 PointsAfter open the project with unity, there are some errors.
Here the errors and warning in the console. http://imgur.com/a/BRJwX
Thank you in advance!
Quinton Gordon
10,985 PointsQuinton Gordon
10,985 PointsHey Thanitsak,
Let's go over everything on your console screenshot:
The rebuilding library message is standard when importing another project. The library takes up a significant amount of space in a project and if you import a project Unity will always rebuild the library from scratch. It is standard for devs to exclude the library when using source control such as git to reduce the size of the exported project. This is simply a console message to keep you informed and has no affect on your ability to compile the project.
The inconsistent line endings warning is a common warning when using Visual Studio as your script editor. You will most likely see this any time you create or import a new script. In Visual Studio there is a setting that will auto-correct this upon detection and I believe in the newest version of Unity (which comes with Visual Studio bundled) this fix is pre-set. It should disappear when you close and re-open the project and should fix automatically when you go to edit a script and save it. In previous versions of Visual Studio you fixed this via a setting but now the auto-fix is the standard way of correcting it. It is a warning which means it will not keep you from compiling your project when you want to build.
The SpeedTree error is significant and is detailed at this link with how to fix:
http://www.speedtree.com/forum/showthread.php?3788-Materials-need-to-be-regenerated-Unity-5-2
Most likely it is because your library had to be rebuilt so Unity does not know where to look for your pre-fabs. You can click on the asset and go to the inspector and regenerate it but there is a chance that will not be possible if the library has not fully rebuilt. Closing the project and reopening should also clear the error. Errors will stop you from compiling so it is significant.