Search Issue Tracker

Fixed in 2022.2.X

Fixed in 2022.1.X

Votes

0

Found in

2022.1.0b8

Issue ID

1402368

Regression

No

ShaderPropertySheet native tests failing Unity 2022 when minConstantBufferOffsetAlignment unsupported

Shader System

-

How to reproduce:
1. Clone Unity 2022/staging source code
2. Build the editor
3. From the directory where the editor is(e.g. D:\unity2022\build\WindowsEditor\x64\Debug) run the following commands on Windows:
-Unity -force-feature-level-11-0 -runNativeTests ShaderPropertySheet.SheetWithCBProperty_FindsOnlyCBProperty
-Unity -force-feature-level-11-0 -runNativeTests ShaderPropertySheet.SheetAddsPropertiesOnlyOnce
-Unity -force-feature-level-11-0 -runNativeTests ShaderPropertySheet.AddProperty_AllTypes_KeepsOtherValuesIntact
-Unity -force-feature-level-11-0 -runNativeTests ShaderPropertySheet.AddProperty_OfSameType_KeepsOtherValuesIntact
4. Open the editor log and note that tests are failing

Expected results: The tests do not fail
Actual results: The tests in the editor log fail

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.