Search Issue Tracker
Fixed
Fixed in 2022.3.56f1, 6000.0.21f1, 7000.0.0a1
Votes
2
Found in
6000.0.15f1
7000.0.0a1
Issue ID
UUM-75237
Regression
No
"Cannot create required material because shader is null" error still thrown when running a Dedicated Server build with checked "Enable Dedicated Server optimizations" player setting's checkbox
- Bug was fixed: https://jira.unity3d.com/browse/UUM-56965
Reproduction steps:
- forum post: https://forum.unity.com/threads/how-to-solve-these-errors-and-warnings-when-starting-dedicated-server.1537558/#post-9917757
{}Expected result{}: Dedicated Server App runs without errors
Actual result: the error still persists in 2023.2.18f1 when server is shutting down:
{code:java}
"Cannot create required material because shader is null"
"UnityEngine.Rendering.CoreUtils:CreateEngineMaterial(Shader)\n"
"UnityEngine.Rendering.Universal.UniversalRenderer:.ctor(UniversalRendererData)\n"
"UnityEngine.Rendering.Universal.UniversalRendererData:Create()\n"
"UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset:GetRenderer(Int32)\n"
"UnityEngine.Rendering.Universal.UniversalAdditionalCameraData:OnDestroy()\n"{code}
Comments (1)
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
- UxmlNamespacePrefix does not apply when using UIBuilder documents
- UI Builder Data Path Source List starts flickering and scrolling when trying to select the last item in the list
- Crash on ProcessSceneBeforeExport when analyzing selected Addressables rules in a specific project
- HDR images are compressed incorrectly with default settings on Android Platform
- Crash with multiple stack traces when painting detail on Terrain with a highly detailed Prefab
DomiOnline
Aug 05, 2024 10:56
We are also getting this issue. URP dedicated server build - Unity 2022.3.34