Search Issue Tracker
Won't Fix
Votes
3
Found in [Package]
1.7.0
Issue ID
NCCBUG-220
Regression
Yes
"System.ArgumentNullException: Value cannot be null" is thrown when a ChildNetworkBehaviour inherits from ParentNetworkBehaviour and the child class contains a ServerRpc
How to reproduce:
Open the attached project "NetworkBehaviourBug.zip"
Expected results: No errors in the Console window
Actual results: "System.ArgumentNullException: Value cannot be null" is thrown
Reproducible with: 1.7.0 (2021.3.32f1, 2022.3.13f1, 2023.1.20f1, 2023.2.0b18, 2023.3.0a14)
Not reproducible with: 1.6.0 (2021.3.31f1, 2022.3.12f1, 2023.1.18f1, 2023.2.0b15, 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:
Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and this issue is fixed in a newer version of Netcode for GameObjects (version >1.8.1)