Search Issue Tracker

Fixed

Votes

0

Found in [Package]

1.14.2

Issue ID

ADDR-1455

Regression

Yes

[Addressables] InvalidCastException is thrown when a project is built with Development Build checked

Package: Build Pipeline - Addressables

-

How to reproduce:
1. Open the user's attached "AddressablesBugReport.zip" project
2. Go to File -> Build Settings
3. Make sure "Development Build" is checked
4. Press "Build And Run" in the Build Settings
5. Observe the Development Console when the application opens

Expected result: No error messages are thrown in the Development Console
Actual result: "InvalidCastException: Specified cast is not valid." error message is thrown in the Development Console

Reproducible with: 1.14.2 (2018.4.26f1, 2019.4.9f1, 2020.1.4f1, 2020.2.0a21)
Not reproducible with: 1.13.1 (2018.4.26f1, 2019.4.9f1, 2020.1.4f1, 2020.2.0a21)

Notes:
- The issue is reproducible on WebGL, Windows, and Mac Builds

  1. Resolution Note:

    from changelog:
    Fixed loading of scenes from scenes list through Addressables. Clears out an InvalidCastException that occured on init.

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.