Search Issue Tracker

Won't Fix

Votes

0

Found in

3.4.0b2

Issue ID

404628

Regression

No

EditorUtility.SetDirty(g) at postprocess doesn't push the asset that's set dirty to the asset server change list

Version Control

-

ex:
void OnPostprocessModel (GameObject g)
{
if (g.name.ToLower().Contains("eye")){
Debug.Log("processing an eye "+g.name);

eye = g.AddComponent(typeof(Eye)) as Eye;

eye.eyeballPivot = g.transform;

EditorUtility.SetDirty(g);
}
}

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.