Search Issue Tracker
Active
Votes
0
Found in
2022.3.40f1
6000.0.13f1
Issue ID
UUM-77651
Regression
Yes
"NullReferenceException" error is thrown when "Domain Reload" is disabled and the project is using "Netcode for GameObjects" package
How to reproduce:
1. Open the “bug-netvis.zip“ project
2. Open the “SampleScene“
3. Disable “Domain Reload” in “Project Settings > Editor > Activate Enter Play Mode Options“
4. Enter Play Mode
5. Observe the Console not throwing any error
6. Exit and re-enter Play mode
7. Observe the Console
Expected result: No NullReferenceException error is logged
Actual result: A “NullReferenceException“ error is logged
Reproducible in: 2022.3.11f1, 2022.3.40f1, 6000.0.13f1
Not reproducible in: 2021.3.41f1, 2022.3.10f1
Reproduced on: MacOS 14.4.1 (M2)
Not reproduced on: Windows 10 (22H2), Windows 11 Pro (23H2)
Notes:
- The error reads: ”NullReferenceException: Object reference not set to an instance of an object”
- For the reproduction, the “Netcode for GameObjects” and “Multiplayer Tools” Packages are needed, but the root problem comes from within the Editor
- “Scene Reload” option does not impact the result
- In versions 2022.3.10f1 and 2022.3.11f1 two “ArgumentException: An item with the same key has already been added” errors are thrown either with or without the “NullReferenceException“
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Unable to complete SSL connection" exceptions are thrown and connection fails when a large amount of WebRequests are made
- Lighting Settings Asset icon is missing in the selection window
- The Shadowmask mode doesn’t take the Shadow Strength parameter into account.
- The drag line position is not updated after viewData is restored
- HDR Text on HDR Color Picker can blend into colour and not be visible if pick similar colour
Add comment