Search Issue Tracker

Fixed in 3.0.0-pre.5

Votes

0

Found in [Package]

3.0.0-pre.3

Issue ID

1309811

Regression

Yes

[IAP] Multiple same Assemblies error is thrown when upgrading IAP package from 2.x to 3.x

Package: Purchasing

-

Reproduction steps:
1. Open the attached project "Repo.zip"
2. Open the project in Safe Mode and observe the errors

Expected result: No multiple same Assemblies error is thrown when upgrading to IAP package 3.0
Actual result: Multiple same Assemblies error is thrown when upgrading to IAP package 3.0

Reproducible with: IAP 3.0.0-pre.3, 3.0.0-pre.4 (2019.4.19f1, 2020.2.3f1, 2021.1.0b4, 2021.2.0a3)
Not reproducible with: IAP 2.2.2 (2018.4.30f1)

Notes:
-Error outputted in the console: Plugin 'Assets/Plugins/UnityPurchasing/Bin/Purchasing.Common.dll' has the same filename as Assembly Definition File 'Packages/com.unity.purchasing/Runtime/managed/Common/Purchasing.Common.asmdef'. Rename the assemblies to avoid hard to diagnose issues and crashes.
- There is no way to downgrade to 2.x from Package Manager, you can only do it by changing manifest.json

  1. Resolution Note (fix version 3.0.0-pre.5):

    We are currently working on writing a migration documentation and posting this documentation everywhere we can think of. That being said it will basically explain that you need to delete the old "asset store" part of IAP.

    To be more specific we need to delete the folder and files under /Assets/Plugins/UnityPurchasing

    As of 3.0.0-pre.5 there will be a description explaining how to handle the migration in detail. Later as we get closer to our release date for IAP 3.0.0 we will also write a forum post and it will be in our release notes as well.

    There is also a case with Unity 2021 that automatically upgrades the IAP package to 3.0.0-pre.4, more details can be found here https://docs.google.com/document/d/1eqiPuTGSHgjPrllxyaD6peYL5fgrV4bNhj4xz6GvxNM/edit?usp=sharing

  2. Resolution Note (fix version 3.0.0-pre.5):

    We are currently working on writing a migration documentation and posting this documentation everywhere we can think of. That being said it will basically explain that you need to delete the old "asset store" part of IAP.

    To be more specific we need to delete the folder and files under /Assets/Plugins/UnityPurchasing

    As of 3.0.0-pre.5 there will be a description explaining how to handle the migration in detail. Later as we get closer to our release date for IAP 3.0.0 we will also write a forum post and it will be in our release notes as well.

    There is also a case with Unity 2021 that automatically upgrades the IAP package to 3.0.0-pre.4, more details can be found here https://docs.google.com/document/d/1eqiPuTGSHgjPrllxyaD6peYL5fgrV4bNhj4xz6GvxNM/edit?usp=sharing

Add comment

Log in to post comment

All about bugs

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