Cannot import IAP: Assembly 'Assets/Plugins/UnityPurchasing/Bin/Stores.dll' will not be loaded due t

Hi, I’ve been having this issue for several weeks now and I cannot find any solution that works for me online. I’m trying to import IAP into my project, but there’s always this importing error:

Assembly ‘Library/ScriptAssemblies/Assembly-CSharp-firstpass.dll’ will not be loaded due to errors:
Reference has errors ‘Stores’.
Assembly ‘Library/ScriptAssemblies/Assembly-CSharp-Editor-firstpass.dll’ will not be loaded due to errors:
Reference has errors ‘Assembly-CSharp-firstpass’.
Assembly ‘Assets/Plugins/UnityPurchasing/Bin/Stores.dll’ will not be loaded due to errors:
Unable to resolve reference ‘UnityEngine.UI’. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
Assembly ‘Assets/Plugins/UnityPurchasing/Bin/Editor.dll’ will not be loaded due to errors:
Reference has errors ‘Stores’.

Here’s the steps I took to import IAP:

  • Enable In-App Purchasing and click “Import” (UnityIAP, UDP, and UnityChannel unitypackages are created in Assets/Plugins/UnityPurchasing")
  • I run UnityIAP.unitypackage, UDP.unitypackage, and UnityChannel.unitypackage and hit import all.
  • Those errors appear in my console

I’m using Unity 2019.3.0a5 but I’ve been having this on issues on every version I’ve tried since 2019.1.4f1

1 Like

Please see here IAP 1.22 Issues with early Unity 2019.1 releases

Awesome. Thanks for the information.

1 Like

Hi Jeff, when the 2019 fix will be out, I need this, desperately, to finish a project I am working on. I did all my project (a 2d app), and I left it to the end of the project, and now I discovered that it does not work on the 2019 version.

Is there any workaround? I already tried the no spaces folder thing and tried copy & paste from 2018 and did not worked.

No updates yet at this time, there are unfortunately multiple issues with 2019. Please keep an eye on this thread, I will update it when more information is available IAP 1.22 Issues with early Unity 2019.1 releases

It worked on Unity 2019.1.6f1 as described at IAP 1.22 Issues with early Unity 2019.1 releases

The only problem is that I was working on Unity 2019.3.0a5. I am migrating my project to 2019.1.6f1 now, a lot of rework on the way :frowning:

Hey!Maybe you have solved this problem.But i want to tell others here my way how to solve it.
1.close you project.
2delele Library Doc.
3.Reopen you project.
4.remember now ,you project is run on pc,remember change to you want.
work in 2018.3.4

Any Updates so far?
This problem is unacceptable! We have worked for so long and now we cannot publish out game!

1 Like

What version of Unity are you using?

I migrated my project to 2019.1 and its working now.

Yes, some changes were made in 2019.2, it should work with 2019.1

1 Like

Hi Jeff, any updates on this issue?

We are using version 2019.3. Downgrading is not an option for us, as we have another game in the store which shares a lot of code with our current game.
Any code improvements (on our common API) we make on our current game, we pull into the other game as well. So downgrading our current game to an older version and leaving the published game on a newer version would lead to inconsistencies very quickly.

Any workarounds available besides downgrading to an older Unity Version?

Thank you for the work you guys put in!

We are hoping for the next release to be available towards the end of this month. This fix is on the list.

Hi Jeff! Been following this thread for a few months. Is the fix likely to be pushed onto the 2019 beta thread or the new 2020 alpha? Thanks! :slight_smile:
Will

The update would be in the IAP package, not the editor version.

Ah! Understood. Are we still expecting that update the end of this month?

2 Likes

Hi Jeff. When are we expecting the next version of the IAP package?

Hopefully this week!

2 Likes

Hi Jeff. Any news regarding the next version of the package?

I’m currently testing the version that should go live. If we don’t find any issues, then any day.