- Home /
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
target should be a GameObject (instance of prefab) or an asset (such as an instance of ScriptableObject).
Vector3 is not an asset, it is merely a data (like int or float).
Answer by Paulius-Liekis · Nov 05, 2012 at 02:42 PM
What's the type of your target? maybe it is Vector3?
Your answer
Follow this Question
Related Questions
Limit rotation for a statue puzzle 1 Answer
SDK updater failed 0 Answers
Error trying to open script with Monodevelop 3 Answers
ScreenPointToRay 1 Answer