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

William Squires
PLUS
William Squires
Courses Plus Student 2,817 Points

Unable to build FrogsAndLogs (on Mac OS X for Mac OS X) - How do I turn off Oculus VR cr*p?

"How to make a video game:Frogsnlogs" - I can't build the project; build fails, and I get a warning and error (in the console) about Oculus VR, and several warnings in the console that look like:

Assets/Standard Assets/Utility/PlatformSpecificContent.cs(38,37): warning CS0618: UnityEditor.EditorUserBuildSettings.activeBuildTargetChanged' is obsolete:UnityEditor.activeBuildTargetChanged has been deprecated.Use UnityEditor.Build.IActiveBuildTargetChanged instead.'

I tried REMming out the line(s) (in PlatformSepcificContent.cs): EditorUserBuildSettings.activeBuildTargetChanged += Update;

and adding the line: UnityEditor.Build.IActiveBuildTargetChanged += Update; // ???

instead, but this turns the warning into an error. Please help.