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 trialcesar real
2,110 PointsI have 13 errors!!!
1 - Assets/Editor/CrossPlatformInput/CrossPlatformInputInitialize.cs(91,34): warning CS0618: UnityEditor.BuildTargetGroup.WebPlayer' is obsolete:
WebPlayer was removed in 5.4, consider using WebGL'
2- Assets/Editor/CrossPlatformInput/CrossPlatformInputInitialize.cs(94,34): warning CS0618: UnityEditor.BuildTargetGroup.WP8' is obsolete:
Use WSA instead'
3-Assets/Editor/CrossPlatformInput/CrossPlatformInputInitialize.cs(95,34): warning CS0618: UnityEditor.BuildTargetGroup.BlackBerry' is obsolete:
BlackBerry has been removed as of 5.4'
4- Assets/Editor/CrossPlatformInput/CrossPlatformInputInitialize.cs(102,34): warning CS0618: UnityEditor.BuildTargetGroup.WP8' is obsolete:
Use WSA instead
5 - Assets/Editor/CrossPlatformInput/CrossPlatformInputInitialize.cs(35,34): warning CS0618: UnityEditor.BuildTarget.WP8Player' is obsolete:
Use WSAPlayer with Windows Phone 8.1 selected'
6 - .... you get the point
Theres loads of erros and I don't know what's going on, I followed everything correctly...
1 Answer
Andrew Haley
3,945 PointsI know this is old but it came up for me in Google when I was looking into this error. Simply double-clicking the error message in the console will open CrossPlatformInputInitialize.cs in your code editor. Change the bad platform targets to the ones they suggest in the error message (in the case of the BlackBerry reference, just delete it entirely). For example, change "BuildTargetGroup.WebPlayer" to "BuildTargetGroup.WebGL". Do this for each of them, then save your file and the errors will be resolved.
tobiaskrause
9,160 Pointstobiaskrause
9,160 PointsWell they error messages tell you what is wrong. Most of the stuff is just outdated (or "obsolete) and not used anymore. Seems the Track has some outdated courses (which I am not suprised, because they make always changes in Unity)