Search Issue Tracker
Fixed
Fixed in 2022.3.23f1, 2023.2.17f1, 6000.0.0b14
Votes
4
Found in
2022.3.12f1
2023.1.19f1
2023.2.0b16
2023.3.0a12
6000.0.0b11
Issue ID
UUM-56965
Regression
No
[URP] NullReferenceException is thrown when running a Dedicated Server build with checked "Enable Dedicated Server optimizations" player setting's checkbox
Reproduction steps:
1. Open the attached “URP-DedicatedServer-Optimized” project
2. Open the Build Settings window ( File > Build Settings… )
3. Switch to Dedicated Server target
4. Click on “Build and run“ button
5. Observe the launched Console Application window
Expected result: Dedicated Server App runs without exceptions
Actual result: “NullReferenceException“ is logged in the Dedicated Server App Console window
Reproducible with: 2022.3.12f1, 2023.1.19f1, 2023.2.0b16, 2023.3.0a12
Could not test with: 2021.3.32f1 (“Enable Dedicated Server optimizations“ checkbox isn’t introduced)
Reproducible on: Windows 11 Pro (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
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
Nodo42
Feb 08, 2024 12:05
I'm having this issue with 2D URP Server Build, following this thread: https://forum.unity.com/threads/how-to-solve-these-errors-and-warnings-when-starting-dedicated-server.1537558/#post-9629234