Using a SerializedProperty after the object has been deleted is not possible

I’m studying the Bootcamp Demo, Gun Script has a ‘Hit Layer’ property.

If I change the property, it causes an error…

Using a SerializedProperty after the object has been deleted is not possible.

Any idea?

pics here.

412461--14293--$q2.JPG

I too am having this problem for certain prefabs, albeit with my own projects. Any assistance would be appreciated. Thanks.

hi all !

Atm i’m playing with some flares, and changing the ‘ignore layer’ of flare, i also have
this error. This also seems to make flares behaviour messy…
Even on a new empty project the error is there meaning it’s some unity bug and
not an error of our own project changes…