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
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Resolution Note:
from changelog:
Fixed loading of scenes from scenes list through Addressables. Clears out an InvalidCastException that occured on init.