Search Issue Tracker

Fixed in 2019.2.X

Votes

2

Found in

2018.1.0f2

Issue ID

1037916

Regression

No

AssetDatabase.importPackageCancelled callback is not called at all

Asset - Database

-

To reproduce:

1. Open the project, attached by the user (PackageImportText.zip)
2. Go to ArtistExtra -> Import Package menu item
3. Press Import Package button in the Editor window
4. Press Cancel in the Preparing Package", "Decompressing..." dialog
5. Observe the console, the importPackageFailed callback is called instead of the importPackageCancelled

Expected: the AssetDatabase.importPackageCancelled callback is called when the import was cancelled

Reproduced in 2017.2.3f1, 2017.3.2f1, 2017.4.3f1, 2018.1.0f2, 2018.2.0b5, 2018.3.0a1

Comments (2)

  1. maxbutler

    Jan 20, 2020 08:45

    I am running into this issue too. Alongside that, sometimes when we bring the prefab back in, the assets aren't in the applied position. https://valentinesdaygifts-forher.com This has only been tested with UI elements for the canvas.

  2. Martin_Gonzalez

    Oct 14, 2018 16:42

    Yes, it happens. I need to delete the package when it's imported or canceled and a i can't do it.

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.