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

C#

Error Messages that I cannot Clear

I am in the "How to Make a Video Game" Course. After Finishing the "Rotate the Player Towards the Target" Video I saved my work and received 8 error messages in a script that I did not write and did not modify (in the BuiltinDebugViewsEditor.cs). All 8 errors state:

Assets/PostProcessing/Editor/Models/BuiltinDebugViewsEditor.cs/(94,68): error CS0122:

The numbers in parentheses are different for each error message. The next part of this error message reads:

'UnityEditor.PostProcessing.PostProcessingModelEditor.profile' is inaccessible due to its protection level

The only Script that I wrote in was one entitled PlayerMovement.cs which doesn't seem to have any errors. There is code that have errors that I did not write or work in and I do not know how to fix. Unfortunately, since I can't enter "play" mode for the game until all compiler errors are cleared, I am stuck. I wish to keep going in the course and would love any and all assistance that someone might be able to provide. Thank you much!!