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
- Profiler - Taking you to the wrong section when using 'show'
- Draw Renderers custom pass doesn't work with SSGI
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
Add comment