Search Issue Tracker
Won't Fix
Votes
4
Found in
2020.3.30f1
Issue ID
UUM-15744
Regression
No
[DOTS 0.5] Hybrid HDRP after build causes " Hybrid Renderer using error shader for batch with an erroneous material"
Steps to reproduce:
1. Open HybridHDRPSamples
2. Make a build through BuildConfiguration -> HybridHDRPSamplesBuildSettings
3. Go to "Lightmaps" scene (any other scene should be fine too)
4. Observe the warning spam and disappearing entities with the following warning: "Hybrid Renderer skipping a batch due to no valid material."
5. Enable/disable the subscene and enter playmode. Entities turn pink with this now: "WARNING: Hybrid Renderer using error shader for batch with an erroneous material: DefaultHDMaterial_Lightmapped__DIRLIGHTMAP (UnityEngine.Material)"
Expected result: Hybrid HDRP after build should not cause " Hybrid Renderer using error shader for batch with an erroneous material" and entities should not turn pink
Comments (4)
-
IliqNikushev
Mar 14, 2023 19:27
Same, turned out i had the Shader's Precision set to HALF not SINGLE
-
MeepMeep33
Aug 13, 2022 22:30
Getting this with Shader Graph/Unlit material, URP 12.1.7, Hybrid render 0.51.1
-
BigRookGames
Apr 08, 2022 20:47
Also getting this in Entities 0.17.0-preview.41 HDRP
-
colin_young
Mar 26, 2022 14:56
I am experiencing the same error with URP.
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
- Render Graph Viewer Capture button plays the click animation but does not do anything when the Capture button is pressed with the “Enter” key on the keyboard
- UI Builder Scrollview is unable to scroll all the way down when the window is downsized vertically
- Celestial bodies order remains unchanged when the Distance setting is modified
- A memory leak occurs with massive terrain when camera position changes occur.
- No valid hits are returned when using RaycastCommand
Resolution Note:
We were not able to reproduce this issue. Please try with the latest version and re-open if this is still happening.