- Home /
Assets/Standard Assets/CrossPlatformInput/Scripts/MobileControlRig.cs(57,37): error
I am getting this error
CS0117: UnityEditor.EditorUserBuildSettings' does not contain a definition for
IActiveBuildTargetChanged' Blockquote
after getting this error
'Assets/Standard Assets/Utility/PlatformSpecificContent.cs(45,37): warning CS0618: UnityEditor.EditorUserBuildSettings.activeBuildTargetChanged' is obsolete:
UnityEditor.activeBuildTargetChanged has been deprecated.Use UnityEditor.Build.IActiveBuildTargetChanged instead.''
Why is this please?
You updated unity to a version of which you can no longer use that script because it is now obsolete as it says in the error.
$$anonymous$$ake a backup, and reimport standard assets. Then when unity asks allow it to update the older version with newer scripts/assemblies say yes and check if it is working.
yep, use the latest Standard Assets with your latest Unity Version
can you get you solution? if yes, then share with us. thanks @Vampyr_Engel
Your answer
![](https://koobas.hobune.stream/wayback/20220612154756im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Games runs perfectly on editor but error on build 1 Answer
"Could Not Produce Class with ID 1108" error 0 Answers
If you solve my this problem I`ll give you 100 points. My problem is --Cannot download entry--. 1 Answer
error unity using System.Collections.Generic cs0246 0 Answers
Moving a character to a waypoint 1 Answer