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
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
Resolution Note:
from changelog:
Fixed loading of scenes from scenes list through Addressables. Clears out an InvalidCastException that occured on init.