Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.6.0
Issue ID
NCCBUG-218
Regression
No
"InvalidCastException: Specified cast is not valid." is thrown when NetworkVariable is declared public
How to reproduce:
1. Open the attached project "NGOTutorial_Bug.zip"
2. Select SampleScene>HelloWorldManager in the Hierarchy window
3. Select Assets/Prefabs/Player.prefab in the Project window
Expected results: No errors are thrown in the Console window
Actual results: "InvalidCastException: Specified cast is not valid" is thrown
Reproducible with: 1.6.0 (2021.3.31f1, 2022.3.12f1, 2023.1.19f1, 2023.3.0a11)
Not reproducible with: 1.7.0 (2021.3.31f1, 2022.3.12f1, 2023.1.19f1, 2023.2.0b16, 2023.3.0a11)
Reproducible on: Windows 11 22H2
Not reproducible on: No other environment tested
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
- EditorGUILayout.PropertyField foldout icon inside Vertical Layout Group has an incorrect indent when used with OnInspectorGUI()
- [Android] [iOS] "NullReferenceException: Object reference not set to an instance of an object" throws when entering the Play Mode/opening the application
- The Player freezes on load when building Web platform
- Animator "Conditions" tab breaks when the only Parameter is deleted and another one is created
- "Shader error in 'Universal Render Pipeline/Lit': maximum ps_5_0 sampler register index (16) exceeded" error thrown after a build is completed when the "LOD Cross Fade" parameter is enabled
Resolution Note:
I'm pleased to inform you that the issue you've encountered has been successfully resolved in our latest release, NGO 1.7.0. We highly recommend upgrading to this version at your earliest convenience to benefit from the fix and ensure a smoother experience.