Cannot change Lens Flare Ignore Layers list - Generating an Error

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.

Can someone test this for me please?

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)

I tested this on my laptop (Alienware M11X) and I get the same error.

My machines are running Win7 64bit Pro

Had a friend try this on his machine and he gets the error as well.

So this would seem like a consistent bug with Unity.

Can some more people please try this and confirm it is broken?

We don’t seem to have anything existing entry in the bug database about this. Please can you file a report for it (menu: Help > Report A Bug).

Thanks Andeeee, Bug has been reported.

I have also reported this bug. I get it with any LayerMask properties in my scripts.