Hi, I am trying this http handler in Unity and it works very well, but when I want to generate the apk for Android the following error is generated:
Assets/RestClient/DemoScene/Scripts/MainScript.cs(20,13): error CS0103: The name `EditorUtility' does not exist in the current context
Assets/RestClient/DemoScene/Scripts/MainScript.cs(58,16): error CS0103: The name `EditorUtility' does not exist in the current context
Assets/RestClient/DemoScene/Scripts/MainScript.cs(79,5): error CS0103: The name `EditorUtility' does not exist in the current context
Assets/RestClient/DemoScene/Scripts/MainScript.cs(82,5): error CS0103: The name `EditorUtility' does not exist in the current context
Assets/RestClient/DemoScene/Scripts/MainScript.cs(91,5): error CS0103: The name `EditorUtility' does not exist in the current context
Assets/RestClient/DemoScene/Scripts/MainScript.cs(94,5): error CS0103: The name `EditorUtility' does not exist in the current context
Error building Player because scripts had compiler errors
Build completed with a result of 'Failed'
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
UnityEditor.BuildPlayerWindow+BuildMethodException: 7 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0021f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:182
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00065] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:89
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
Hi, I am trying this http handler in Unity and it works very well, but when I want to generate the apk for Android the following error is generated:
I would appreciate your help