xsolla / store-ue4-sdk

Xsolla Store plugin for Unreal Engine
https://xsolla.com/products/store
Apache License 2.0
32 stars 15 forks source link

Unreal Editor crashes when attempting to authorize with "Encrypt Cached Credentials" enabled #153

Closed kalkulator777 closed 2 weeks ago

kalkulator777 commented 1 month ago

Steps to reproduce:

  1. Create project
  2. Go to Xsolla Settings and enable "Encrypt Cached Credentials" and set key
  3. Create simple widget for authorize
  4. Try to authorize
  5. Get crash with Assertion failed: Key.Num() == sizeof(FAES::FAESKey::Key) [File:D:\Projects\ProjectName\Plugins\XsollaSDK\Source\XsollaLogin\Private\XsollaLoginSave.cpp] [Line: 108]
olga-salina commented 1 month ago

Hi @kalkulator777 ! The Encrypt Cached Credentials key must be a base64 string that will decode into a 32 character string.