Search Issue Tracker
Fixed in 2022.3.56f1
Fixed in 2022.3.X, 6000.0.X, 7000.0.0a1, future release
Votes
2
Found in
6000.0.15f1
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
DomiOnline
Aug 05, 2024 10:56
We are also getting this issue. URP dedicated server build - Unity 2022.3.34