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
- UI Toolkit meshes are fully rendered and rasterized when opacity is 0
- Light rendering artefacts appear in the Editor when assigning unsupported 3D Custom Render Texture in Camera’s Output Texture, unclearable errors and warnings spammed
- Memory leak when running a test with "GfxThreadingMode" set to "SplitJobs"
- Loading Unloaded unsaved Scene throws “ArgumentException” error in the Console
- Crash on std::__1::__tree_const_iterator when opening the Build Profiles window in a specific project
Add comment