Search Issue Tracker
Fixed in 9
Votes
1
Found in [Package]
9.0.0, 8.1.0, 8.0.1
Issue ID
1242359
Regression
No
[HDRP] Material doesn't have a float/range property errors are thrown on assigning any material to Decal Projector
Material doesn't have a float or range property '_DrawOrder' errors are thrown on assigning any material to Decal Projector in prefab mode.
Steps to repro:
1. Create a new HDRP project
2. GameObject > Rendering > Decal Projector.
3. Create a prefab > Open in Prefab mode.
4. Assign any material to Decal Projector
Actual Result:
Material doesn't have a float/range errors are thrown in the console.
Expected Result:
No errors in the console.
Reproducible in:
2020.2.0a9, 2020.1.0b8, 2020.1.0a23 with Package Version 9.0.0, 8.1.0, 8.0.1.
Environment:
Occurring on Windows 10 & Mac 10.15.
Stack trace:
Material doesn't have a float or range property '_DrawOrder'
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Comments (1)
-
JusticeMcFly
May 16, 2020 23:35
Getting this on 2019.3.13f1 after upgrading project from 2019.2
~300 criticals related to this error but it doesn't indicate which materials, reappears pretty fast after clearing it too. No other errors in console.
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
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
Resolution Note (fix version 9):
Fixed in Package Version 10.0.0-preview.27.