Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2019.4.X, 2020.3.X

Votes

1

Found in

2019.1.0a10

2019.1.0f2

2019.2.0a1

2019.3.0a1

Issue ID

1150164

Regression

No

GameObject::GetComponentIndex crash when entering Play mode after unloading AssetBundle during LoadResourceAsync

Asset Bundles

-

Steps to reproduce:
1. Open User-supplied project
2. Open Scene "Sample Scene"
3. Enter and exit the Play mode a couple of times

Reproduced in: 2019.1.0a10, 2019.2.0a14, 2019.3.0a1
Not reproduced in: 2017.4.26f1, 2018.3.14f1*, 2018.4.0f1*, 2019.1.0a1*, 2019.1.0a9

Note:
*Can't enter Play mode
The game usually crashes on the third play

*Required package reset to enter play mode, that could have impacted the reproducibility

2019.1.0a1 Package Reversion:
Before: Can't check, Packman errors prevent me from opening the PackMan Window.
After: Ads: 2.0.8; Analytics: 3.0.9; IAP: 2.0.1; PackManUI: 2.0.0-preview.7; TMPro: 1.3.0; Collab: 1.2.9;

2018.4.0f1 Package Reversion:
Before: Can't check, Packman errors prevent me from opening the PackMan Window.
After: Ads: 2.0.8; Analytics: 3.2.2; IAP: 2.0.3; PackManUI: 2.0.7; TMPro: 1.3.0; Collab: 1.12.15;

2018.3.14f1 Package Reversion:
Before: Can't check, Packman errors prevent me from opening the PackMan Window.
After: Ads: 2.0.8; Analytics: 3.2.2; IAP: 2.0.3; PackManUI: 2.0.7; TMPro: 1.3.0; Collab: 1.12.15;

2017.4.26f1 No PackMan, could not test

  1. Resolution Note (fix version 2021.2):

    AssetBundle.Unload will wait for all asset bundle async operations (for example LoadAssetAsync) to be completed before proceeding. Also logs a warning when this scenario occurs.

  2. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.23f1

  3. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.33f1

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.