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 trial

Game Development How to Make a Video Game The Unity Editor and Scene Setup The Unity Editor Interface

Tomasz Necek
PLUS
Tomasz Necek
Courses Plus Student 7,028 Points

When I import Unity Package for the game I have a bunch of errors - Obsolete API, wrong scripts - lot's of red errors...

I tried The automatic updater I tried "no thanks" option. Still , lot of errors....CS 0246, materials need to be regenerated, missing namespaces.. I did exacly as It was said in the video.. Please help Unity 5.6

Arthur Redman
Arthur Redman
2,109 Points

I am having the same problem:

  1. Error CS0116: A namespace cannot directly contain members such as fields or methods (CS0116) (Assembly-CSharp)
  2. Warning CS0649: Field 'UnityStandardAssets.Utility.WaypointProgressTracker.circuit' is never assigned to, and will always have its default value null (CS0649) (Assembly-CSharp-firstpass) Etc. I am getting 16 errors in total. and my froggy won't dance =( Please Help

1 Answer

As for the "materials need to be regenerated" problem you can check this: http://www.speedtree.com/forum/showthread.php?3788-Materials-need-to-be-regenerated-Unity-5-2