Search Issue Tracker
Fixed
Fixed in 1.5.3
Votes
0
Found in [Package]
1.4.5
1.5.0-pre.7
1.5.2
Issue ID
LOC-1136
Regression
No
InvalidCastException is thrown when asset type metadata is not first in AssetTableCollection.GetEntryAssetType
Reproduction steps:
1. Open the attached “BugRepro” project
2. From the menu navigate to Test > Test Bug
3. Observe the Console window
Expected result: No errors are thrown and the expected type for the entry is returned
Actual result: “InvalidCastException: Specified cast is not valid.” error is thrown
Reproducible with: 1.4.5 (2021.3.40f1), 1.5.0-pre.7 (2021.3.40f1), 1.5.2 (2021.3.40f1, 2022.3.40f1, 6000.0.13f1)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Add comment