EditorUtility.SetDirty error?

im using the custom inspector code, to make my life easyer

if i use
EditorUtility.SetDirty(target);

then i get the error message “Unsupported type Vector3f”

if i not use that ine then there is no error message but the OnSceneGUI() is not updated until i do something in the main scene view , which is very irritating
any one know how to stop this error message, its more annoying than anything

What’s the type of your target? maybe it is Vector3?