Search Issue Tracker

Not Reproducible

Votes

1

Found in

5.0.0b16

Issue ID

653920

Regression

Yes

[ImageEffects] Selecting DX11 for "Defocus Type" in the Depth Of Field script results in a null reference error

Camera

-

Steps to reproduce:
1. Open the attached project and the scene
2. Scene contains some GO, a camera with Depth of Field script from Sample Assets
3. Select Main Camera and locate DOF script then change Defocus Type from Disc Blur to DX11.
4. Errors are shown:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at C:/buildslave/unity/build/Editor/Mono/ScriptAttributeGUI/PropertyHandler.cs:190)

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.