Search Issue Tracker

Fixed in 1.18.5

Votes

3

Found in [Package]

1.18.2

Issue ID

ADDR-1967

Regression

No

"Assertion failed on expression: 'ShouldRunBehaviour()'" error is thrown when calling Addressables.LoadAssetAsync function

Package: Build Pipeline - Addressables

-

"Assertion failed on expression: 'ShouldRunBehaviour()'" error is thrown when calling Addressables.LoadAssetAsync function and Asset has a Script attached

How to reproduce:
1. Open the attached project's "case_1335013-Project.zip" Scene labeled "SampleScene"
2. Enter the Play Mode
3. Inspect the Console Window

Expected result: No errors are thrown
Actual result: "Assertion failed on expression: 'ShouldRunBehaviour()'" error is thrown

Reproducible with: 1.18.2, 1.18.4 (2018.4.35f1, 2019.4.26f1, 2020.1.13f1)
Not reproducible with: 1.17.17 (2019.4.26f1), 1.18.2 (2020.1.14f1, 2020.3.8f1, 2021.1.7f1, 2021.2.0a17)

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.