Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • Bugs /
avatar image
Question by giorgiotino · Apr 22, 2021 at 04:37 PM · apissdks

HttpWebRequest has a bug and does not work in 2.106.210406

We have updated PlayFab SDK to v. 2.106.210406 and all of a sudden, if HttpWebRequest is used as request type, no callback is called on success. We identified the problem in:

PlayFabSDK/Shared/Internal/PlayFabHttp/PlayFabWebRequest.cs, line 254

if (localActiveRequests[i].HttpRequest.HaveResponse) <-- HaveResponse does not seem to work

we changed it to:

if (localActiveRequests[i].HttpRequest.GetResponse() != null) <-- it works!

I assume this is a bug, let me know if I am missing something.

Comment

People who like this

0 Show 1
10 |1200 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 Ivan Cai ♦ · Apr 23, 2021 at 03:26 AM 0
Share

We are trying to reproduce this issue. We will keep you updated as soon as possible.

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Ivan Cai · Apr 28, 2021 at 08:31 AM

I test calling loginwithemailaddress API to reproduce the two situations you mentioned. As a result, I can see the LoginSuccess callback in the console. Can you provide the code you tested?

Comment

People who like this

0 Show 1 · Share
10 |1200 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 giorgiotino · May 10, 2021 at 11:09 AM 0
Share

Not sure what kind of code could help, but what happens is that NO api call ever calls any callback - I did try with LoginWithiOS, with Android, with DeviceId - not a single api call works... Just to be clear, everything has been working fine until we upgraded to the specified version, with no other change in the code. We have been running this code for almost two years now.

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.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    4 People are following this question.

    avatar image avatar image avatar image avatar image

    Related Questions

    TitleId in SendAccountRecoveryEmailAsync (CSharpSDK) 1 Answer

    UE4 continually crashing 1 Answer

    "Authentication - Login With Google Account" docs and Unity SDK are missing the "AccessToken" variable 3 Answers

    Weird iOS Stripping issue with Unity 2020: Null Reference ,Weird iOS Stripping Bug: Unity 2020. Null Reference 1 Answer

    Values "ShowAvatarUrl" missing in the web model "PlayerProfileViewConstraints" 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges