Can’t build project since 12-13 October 2017. Unity Cloud says about some obsolete code, but I don’t get any errors in my Editor. I also use Asset which has some same obsolete code parts.
Why it is Error, not Warning?
Why can’t I see those errors in my Editor (I have latest released Unity 2017.1.1f1)
How do I avoid these errors and build my project?
I didn’t update my Unity and didn’t change anything in Unity Cloud settings. It just started to appear. Why?
Here’s those errors:
12: [Unity] Assets/Scripts/Platform.cs(16,58): error CS0619: UnityEngine.RuntimePlatform.OSXWebPlayer' is obsolete: WebPlayer export is no longer supported in Unity 5.4+.’
13: [Unity] Assets/Scripts/Platform.cs(18,61): error CS0619: UnityEngine.RuntimePlatform.WindowsWebPlayer' is obsolete: WebPlayer export is no longer supported in Unity 5.4+.’
14: [Unity] Assets/Scripts/Platform.cs(36,66): error CS0619: UnityEngine.RuntimePlatform.OSXDashboardPlayer' is obsolete: Dashboard widget on Mac OS X export is no longer supported in Unity 5.4+.’
15: [Unity] Assets/Scripts/Platform.cs(37,66): error CS0619: UnityEngine.RuntimePlatform.OSXWebPlayer' is obsolete: WebPlayer export is no longer supported in Unity 5.4+.’
16: [Unity] Assets/Scripts/Platform.cs(39,66): error CS0619: UnityEngine.RuntimePlatform.WindowsWebPlayer' is obsolete: WebPlayer export is no longer supported in Unity 5.4+.’
Found the problem: I had not the newest version of Unity. (but when I checked for updates, It said to me “Everything is up to date”). So it is the problem in new Unity 2017.2.0f3.
I am facing the same, Please Help…if possible…
Assets/FacebookSDK/SDK/Scripts/Constants.cs(181,38): error CS0619: UnityEngine.RuntimePlatform.WindowsWebPlayer' is obsolete: WebPlayer export is no longer supported in Unity 5.4+.’
How are you experiencing that? The error is correct, WebPlayer is obsolete (and is no longer supported by almost any browser that I know of). If you are building for WebPlayer then you will have to instead build for WebGL which provides many of the same advantages. If you are not building for WebPlayer then you should try updating the Facebook SDK or your version of Unity.
Unity 2019.3.13f1
I am facing the same, Please Help
updating the Facebook SDK Facebook SDK for Unity (beta) did not help
Assets\Plugins\Control-Freak-2\Scripts\Gamepads\ProfileBanks\BuiltInGamepadProfileBank.cs(121,9): error CS0619: ‘RuntimePlatform.OSXDashboardPlayer’ is obsolete: ‘Dashboard widget on Mac OS X export is no longer supported in Unity 5.4+.’