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
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)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Property field override bar does not update transparency correctly when switching between valid and invalid GameObjects
- Project window selection is not updated when search term is changed
- Error when adding valid MonoBehaviour script to Prefab in Project window
- Editor Launch Screen will close when Enter is pressed on it
- ObjectPool's pool is destroyed when entering Play Mode without reloading Domain
Add comment