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 Saad Anees · Aug 22, 2021 at 01:55 PM · Authenticationunrealentities

UE4 Crashing After Login with Email

playfab-email-error.pngHello,

I have implemented the Login mechanism with Email as per docs. The login works fine for the first time but after that if I stop and play again and try to log in, it crashes.

Edit: I have added my Login blueprint so please let me know if I am doing something wrong.

playfab-email-error.png (216.9 kB)
Comment

People who like this

0 Show 0
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

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Sarah Zhang · Aug 23, 2021 at 09:13 AM

Could you please clarify did you set the developer secret key for your project? If so, for clarification, our PlayFab Marketplace plugin is designed as that if you set the developer security key in the first API call, then call the client authentication APIs in the second call, the editor will crash. It’s designed to avoid developers using the developer secret key in the client side. For this case, we would suggest you remove the secret key from this project and try again.

If the editor crash is caused by other issues, could you please provide the detailed error messages or the detailed crash report?

Comment
Saad Anees

People who like this

1 Show 2 · 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 Saad Anees · Aug 23, 2021 at 12:26 PM 0
Share

Hi Sarah,

That solved the problem but how will I send Account recovery email because it requires Secret key. When I removed the secret key it solved the crash problem but i am unable to send account recovery email api.

avatar image Sarah Zhang Saad Anees · Aug 24, 2021 at 08:58 AM 0
Share

Calling Server APIs on the client will cause the potential security issues. You can host the Server-side logic on the PlayFab CloudScript, so that you can do the necessary verification to prevent abusing of the Server APIs. Please check the documentation -- Writing custom CloudScript - PlayFab | Microsoft Docs to learn more about how to use the CloudScript.

In addition, please note that only Server API, Entity API and Multiplayer API can be called on CloudScript. And Admin API SendAccountRecoveryEmail can't be called. So please use an alternative -- Server API SendCustomAccountRecoveryEmail.

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

    6 People are following this question.

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

    Related Questions

    Issue with LoginWithGameCenter in Unreal Engine 4 0 Answers

    EOS online subsystem can NOT connect from PlayFAB 1 Answer

    I am getting 503 Service Unavailable for all calls 1 Answer

    Bug in UE4 GetEntityToken implementation? 1 Answer

    Warning: Steam Dedicated Server API failed to initialize. 2 Answers

    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