Search Issue Tracker
Fixed
Fixed in 1.5.x
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
- GetCurrentAnimatorClipInfoCount() and GetNextAnimatorClipInfoCount() return 0 when animator is in transition
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
Add comment