Search Issue Tracker

Fixed

Fixed in 2022.3.12f1, 2023.1.17f1, 2023.2.0b15, 2023.3.0a1

Votes

0

Found in

2022.2.21f1

2022.3.10f1

2023.1.15f1

2023.2.0a22

2023.3.0a1

Issue ID

UUM-41220

Regression

No

[VFX] Exception while switching fabric material from opaque to transparent

--

-

Step to repro:
- Open an HDRP project
- Import package
- Open VFX "1"
- Create an Output Particle Quad, link it to the system
- Assign the "LitVFXSG 1" (the other SG won't reproduce) to Output
- Open Inspector
- Switch Surface Type to Transparent
- Observe the exception:

{code:java}
ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: propertyIndex
UnityEngine.Shader.CheckPropertyIndex (UnityEngine.Shader s, System.Int32 propertyIndex) (at <081e55d24a104f74b1b7708d04a3de02>:0)
UnityEngine.Shader.GetPropertyDefaultFloatValue (System.Int32 propertyIndex) (at <081e55d24a104f74b1b7708d04a3de02>:0)
UnityEditor.Rendering.HighDefinition.TransparencyUIBlock.get_showSection () (at D:/UnitySrc/Dev_Git/Packages/com.unity.render-pipelines.high-definition/Editor/Material/UIBlocks/TransparencyUIBlock.cs:77)
UnityEditor.Rendering.HighDefinition.MaterialUIBlock.OnGUI () (at D:/UnitySrc/Dev_Git/Packages/com.unity.render-pipelines.high-definition/Editor/Material/UIBlocks/MaterialUIBlock.cs:226)
UnityEditor.Rendering.HighDefinition.MaterialUIBlockList.OnGUI (UnityEditor.MaterialEditor materialEditor, UnityEditor.MaterialProperty[] properties) (at D:/UnitySrc/Dev_Git/Packages/com.unity.render-pipelines.high-definition/Editor/Material/UIBlocks/MaterialUIBlockList.cs:62)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
{code}

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.