When ever I try to modify the ignore layer list I get this:
Using a SerializedProperty after the object has been deleted is not possible. UnityEditor.EditorGUI:SetLayerMaskValueDelegate(Object, String[ ], Int32)
Now this is just me adding a new game object, directional light and adding a lens flare component.
It is sitting in the root of the hierarchy with no scripts attached to it.
If I add one with the defaults the lens flare works but if I edit the list and get the error it will no longer display.
This also happens in brand new projects with nothing but the camera and the light in it which suggests its not something related to my project but globally within Unity.
I have updated .net to version 4
Have version 3.1 f4 of Unity
I create a brand new project and only import the Flare package
I add a directional Light
I add a lens flare component to the light
I change the ignore layer list
Error:
Using a SerializedProperty after the object has been deleted is not possible. UnityEditor.EditorGUI:SetLayerMaskValueDelegate(Ob ject, String[ ], Int32)