Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Mox-Mind · Apr 25, 2017 at 02:46 PM · unity 5ios7

loading error unsupported URL IOS Xcode build

Hello Developer Need Help

I'm trying to upload Video file local to my server but when i run on my IOS device i got below error.

Script:

 IEnumerator uploadvideo1(string localpath,string url,string filename)
 {

     StartCoroutine (showTextForVideo (localpath));
     yield return new WaitForSeconds (3);


     WWW localfile = new WWW ("file://"+localpath);
     yield return localfile;

     if (localfile.error == null) {

         byte[] videobytes = localfile.bytes;
         WWWForm postForm = new WWWForm ();


         StartCoroutine (showTextForVideo ("Loading done="+videobytes.Length));
         postForm.AddField ("fileToUpload", 0.ToString ());
         postForm.AddBinaryData ("fileToUpload", videobytes,filename,"video/mp4");

         uplodingText.gameObject.SetActive (true);
         uplodingText.text = "uploading video.....";
         using (UnityWebRequest www = UnityWebRequest.Put(url, videobytes))
         {
             yield return www.Send();

             if (www.isError)
             {
                 Debug.Log ("upload error "+www.error);
                 uplodingText.gameObject.SetActive (false);
                 StartCoroutine (showTextForVideo ("upload error "+www.error));

             }
             else
             {
                 Debug.Log ("video upload Done"+filename);
                 uplodingText.gameObject.SetActive (false);
                 StartCoroutine (showTextForVideo ("upload video Done"));
             }
         }


     } 
     else {
         Debug.Log ("loading error "+localfile.error);
         StartCoroutine (showTextForVideo ("loading error "+localfile.error));

     }
 }




Error 2017-04-20 18:07:43.041 everyplayiosdemo[517:105218] [#306] +[Everyplay initWithDelegate:] initializing 2017-04-20 18:07:43.311 everyplayiosdemo[517:105218] Everyplay SDK build: 2140 2017-04-20 18:07:43.608 everyplayiosdemo[517:105218] -> registered mono modules 0xeec410 -> applicationDidFinishLaunching() -> applicationDidBecomeActive()

Renderer: PowerVR SGX 543

Vendor: Imagination Technologies

Version: OpenGL ES 2.0 IMGSGX543-124.1

GLES: 2

GL_OES_depth_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_vertex_array_object GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_draw_instanced GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_pvrtc_sRGB GL_EXT_read_format_bgra GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sRGB GL_EXT_texture_filter_anisotropic GL_EXT_texture_rg GL_EXT_texture_storage GL_APPLE_clip_distance GL_APPLE_color_buffer_packed_float GL_APPLE_copy_texture_levels GL_APPLE_framebuffer_multisample GL_APPLE_rgb_422 GL_APPLE_sync GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_APPLE_texture_packed_float GL_IMG_read_format GL_IMG_texture_comp ression_pvrtc

OPENGL LOG: Creating OpenGL ES 2.0 graphics device ; Context level ; Context handle 349633568

Initialize engine version: 5.4.2f1 (94e3a60ee258)

UnloadTime: 12.676750 ms

Setting up 1 worker threads for Enlighten.

Thread -> id: 40513000 -> priority: 1

2017-04-20 18:08:21.736 everyplayiosdemo[517:105218] You are using download over http. Currently unity adds NSAllowsArbitraryLoads to Info.plist to simplify transition, but it will be removed soon. Please consider updating to https.

loading error unsupported URL

c__Iterator4:MoveNext()

(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)

2017-04-20 18:10:33.463 everyplayiosdemo[517:105218] You are using download over http. Currently unity adds NSAllowsArbitraryLoads to Info.plist to simplify transition, but it will be removed soon. Please consider updating to https.

loading error unsupported URL

c__Iterator4:MoveNext()

(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)

Thanks

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Landscape app goes portrait during app store login 0 Answers

make a bouncing ball move slightly to the left or right, 1 Answer

get_version can only be called from the main thread. 0 Answers

How to solve the error:BCE0004: Ambiguous reference 'NoiseAndGrain': NoiseAndGrain, NoiseAndGrain 0 Answers

Need help with on screen multiplayer fire button 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges