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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
DomiOnline
Aug 05, 2024 10:56
We are also getting this issue. URP dedicated server build - Unity 2022.3.34