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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
from changelog:
Fixed loading of scenes from scenes list through Addressables. Clears out an InvalidCastException that occured on init.