Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
Issue ID
1333690
Regression
No
"Wireframe" and "Shaded Wireframe" Scene View shading modes don't work with DX12 shaders compiled with the DXC backend
1. Open a project and make sure the graphics API is set to DX12
2. Create a new "Unlit" shader asset and add '#pragma use_dxc' to the CGPROGRAM section
3. Create a new material asset and add the created shader to it
4. Create a new Sphere object in the Hierarchy and set its material to the one created in step 3.
5. Set the Scene View shading mode to "Wireframe" or "Shaded Wireframe"
Expected result: The sphere has a black wireframe drawn (as would be visible if the '#pragma use_dxc' line were commented out)
Actual result: no wireframe is drawn for the sphere
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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a19