Search Issue Tracker
Won't Fix
Votes
2
Found in [Package]
1.2.X
Issue ID
ECSB-136
Regression
No
“InvalidCastException: Specified cast is not valid.“ Error when loading Sub Scene
How to reproduce:
1. Open the user attached project “Entities 1.0 test.zip“
2. Open Scene “SampleScene“ (Assets/Scenes)
3. Create a Sub Scene in the Hierarchy (Right Click > New Sub Scene> Empty Scene…)
4. Select the created Sub Scene
5. Drag and drop the “Test” Sub Scene (Assets/Scenes/SampleScene) in the “Scene Asset“ selection
Expected result: There is no error in the Console
Actual result: “InvalidCastException: Specified cast is not valid.“ error in the Console
Reproducible with: 1.0.0-exp.12 (2022.2.0f1, 2023.1.0a21)
Can’t test with: 2020.3.42f1, 2021.3.15f1, 2022.1.23f1 (Errors in the Console), 1.0.0-exp.15 (2022.2.0f1, 2023.1.0a21)(“AssertionException: Ensure TypeManager.Initialize has been called before using the TypeManager“ error in the Console)
Reproduced on: macOS 12.5 (Intel)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Error “NullReferenceException: Object reference not set to an instance of an object“ is present when the UI Toolkit Debugger window is docked and inactive on Editor launch
- RenderTexture pixels are gray when created without drawing on macOS
- Slider disappears when the Baked Lightmap Viewer window is at its minimum size
- Crash on 'TransformParticleMesh' when setting Particles in PlayMode
- UI Toolkit Window popups are cropped when using an UHD monitor coupled with a lower resolution monitor
Resolution Note:
It is fixed in 2022 LTS and 2023 LTS