Search Issue Tracker
Fixed
Fixed in 6000.3.0b8, 6000.4.0a2
Votes
0
Found in
6000.0.48f1
6000.1.2f1
6000.2.0a10
6000.3.0a1
6000.4.0a1
Issue ID
UUM-104711
Regression
No
"InvalidCastException: Specified cast is not valid" is thrown when Generating Lighting with "Virtual Offset" enabled in APV, and a static Skinned Mesh Rendered with a Mesh Filter Component is in the Scene
Reproduction steps:
1. Open the attached “IN-100507.zip” project
2. Open the “OutdoorsScene” Scene
3. Go to Window > Rendering > Lighting
4. Click Generate Lighting
5. Observe the Console
Expected result: No errors and lighting generates, or a more informative message is shown in the Console
Actual result: “InvalidCastException: Specified cast is not valid.” is thrown, and lighting is not generated
Reproducible with: 6000.0.48f1, 6000.1.2f1, 6000.2.0a10
Couldn’t test with: 2022.3.62f1 (APV not available)
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Notes:
- Does not reproduce if the “Mesh Filter” Component is removed or the “Noren_Big_x4_White_LOD0” GameObject is unmarked as Static
- Also does not reproduce if the “Virtual Offset” is disabled in the Lighting Window in the Adaptive Prove Volumes tab
- Could not reproduce on a new projec
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Terms of Service agreement checkbox is invisible under specific OS system themes (UI Accessibility)
- Tile Palette: "Create New Tilemap" dropdown area is displayed in several colors
- Input.mousePosition stops syncing to touch input when using "DownloadHandlerTexture" in WebGL build
- UI Builder canvas doesn't update element styling accordingly when changing Active Theme for some Editor Authoring elements
- Selector Value buttons are not aligned with parameters in UI Builder
Add comment