Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 Hims · Jul 11, 2014 at 04:34 PM · wwwloginwebrequestwindows store appform

WWW (webrequest)not working in windows8.1 app store build

Hello, i am making an online login system using www in unity.

codes works as expected when executed in unity editor , but its not working when i build it for windows 8 app store.

when i execute it in app store it is not being able to send the request to the link i have specified in www.

here is the code i have used.

   function LoadRegData()
         {    
             var form = new WWWForm();
             form.AddField("getName", nameText);

             var webRequest = WWW("highcube.net/knownsensesite/policeapp/load_reg_data.php", form);
             
             yield webRequest;
             
             if(webRequest.text==nameText ){ 
     /* nameText is the value of Textfield that i have used to get the username. the webrequest.text is compared to nameText variable , if both values are same then it loads second scene, but here it is not getting the value in webrequest in app store build, but works well when built for stand alone platform.*/
                 
                 username = webRequest.text;
                 laoding = false;
                 //Application.LoadLevel("dashboard");
             }
             else
             {
                 
                 StoreNotExist = "Username or Password is Incorrect.";
                 print("Names dont match.");
             }
         }

I dont know what is wrong !! doesnt windows 8.1 app store build support webrequest and www?? help me with this.how to solve this.

thanks, -Hims

Comment
Add comment · Show 5
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
avatar image victorafael · Jul 11, 2014 at 05:09 PM 0
Share

it's falling on the fallback? "Names dont match."?

avatar image Landern · Jul 11, 2014 at 05:13 PM 1
Share

Have you setup your application capabilities in the manifest to include InternetClient so you have access to the internet?

avatar image Hims · Jul 12, 2014 at 08:48 AM 0
Share

yes i have set InternetClient in unity , but i don't know how to set InternetClient in Visual Studios 2013

avatar image Hims · Jul 12, 2014 at 08:49 AM 0
Share

@victorafael : yes its falling on Names dont match

avatar image Hims · Jul 12, 2014 at 12:00 PM 0
Share

alt text

i have opened the manifest file of the visual basic in which i have specified the Internetclient. even hough its not working.

pls help with this i am stuck!!

hhh.jpg (154.3 kB)

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

23 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why do I get a newline (\n br) while sending a simple string from php to Unity c# 1 Answer

Upload files to a remote form using C# in Unity 2 Answers

Cant stay logged in server with www class 0 Answers

Data pass using POST method - WebRequest object 1 Answer

Handle Blank Response From Web Server 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