Search Issue Tracker

Fixed in Unity 2018.1

Votes

41

Found in

2018.1.0f2

Issue ID

1033935

Regression

Yes

"ArgumentException: Cannot set currency to an empty or null string" errors using IAP in Editor

IAP

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Workaround is possible

To reproduce:
1. Open users attached project "BlockPuzzleMagic.zip"
2. Open "MainScene.unity" scene
3. Press the shop button on the bottom
4. Select any item on the list and press BUY

Expected result: the item is purchased without any errors
Actual result: getting "ArgumentException: Cannot set currency to an empty or null string" errors in the console

Reproduced on: 2018.1.0b11 2018.1.0f2 2018.2.0b4 2018.3.0a1
Not reproduced on: 2017.4.3f1

Notes:
on 2018.2.0b4 errors: TypeLoadException: Could not load type 'SimpleJson.SimpleJson' from assembly 'UnityEngine.Purchasing'
on 2018.1.0f2 errors: ArgumentException: Cannot set currency to an empty or null string

Could not test 2018.1.0a1 - 2018.1.0b10 because of errors on play

Comments (12)

  1. 22fb5f19e1496440dd275ffafbdc26cc?d=mm

    jcpassociate

    Jun 25, 2018 05:42

    same issue with my site https://jcpassociatekiosk.net i cannot make the changes its about jcp penney website

  2. 180c0397eaa2306f9e335da2c9ac6db1?d=mm

    _uso212

    Jun 20, 2018 15:17

    Same issue on 2018.1.5f1.

  3. D6a2f09786778fc4df2b0c73fadc7d8d?d=mm

    newwise

    Jun 13, 2018 15:59

    Same. 2018.1.4f1

  4. Cdf066642a7152a5d8ad49dd84bc215c?d=mm

    thecotanak

    Jun 10, 2018 11:13

    We can't publish our game to the stores and just waiting for this issue to be fixed. Please Unity.

  5. 698e66d6e692149c9977c45cc0210fd4?d=mm

    Omar-Balfaqih

    Jun 01, 2018 01:15

    I am using V 2018.1.2f1 and I get the same error message. Hope it gets fixed soon.. all the best to the IAP Team and thanks for their hard work.

  6. A15c41d97745500af133a6f445b96bea?d=mm

    DeepakDevrariLS

    May 28, 2018 07:55

    Please fix this!
    Due to this, I'm unable to upload my app to iTunes.

  7. 6cfc7b9ecf58da97bfe731db724c87e0?d=mm

    iluhin-pro

    May 26, 2018 04:32

    Same issue happening 2018.1.21f1

  8. 8d7d764f46f9fcac85076d0ba29cc553?d=mm

    astodb9

    May 25, 2018 18:58

    Same issue happening 2018.1.1f1

  9. 349770d3c43c3ff9054d96e1a89cc7ab?d=mm

    Kudorado

    May 25, 2018 03:00

    This same issue on 2018.1.0f2 .

  10. 349770d3c43c3ff9054d96e1a89cc7ab?d=mm

    Kudorado

    May 25, 2018 03:00

    This same issue on 2018.1.0f2 .

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.