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
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
- Graphics Compositor breaks Unity rendering when the "Output Camera" is changed to a scene Camera and one Camera SubLayer is active
- The Editor freezes on RenderGraphViewer.Repaint when entering too many characters in search fields without character limits
- Adding a new SubLayer in Graphics Compositor renders BaseLayer darker and makes it flicker
Add comment