Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Scene object not refreshing visually after prefab (and object itself) change

Discussion in 'Editor & General Support' started by andymads, Sep 17, 2012.

  1. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,597
    I've got a prefab of a procedural mesh (custom sprite) and sometimes when the prefab changes (e.g. UVs) the scene instance object does not refresh (visually), even after saving scene/closing+reopening scene/closing+reopening Unity.

    Manually selecting the instance in the scene/hierarchy forces a refresh - clearly not a solution when there are many objects that don't refresh (dragging a box around them does not help).

    The strange thing is that the actual instance object has been changed (i.e. UVs on the underlying Mesh component), but visually it does not refresh (until selecting it).

    I've trying various things from a custom menu command to force the refresh, such as translating by a zero vector or 'pinging' it via EditorGUIUtility.PingObject.
     
  2. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,597
    Any comments?
     
  3. UnLogick

    UnLogick

    Joined:
    Jun 11, 2011
    Posts:
    1,740
    I can't say works for me on this one, cause I've never tried it. :)

    Please file a bug with the scripts so I can take a look.

    pm me with case number, I love digging deep into editor scripts.
     
  4. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,597
    Bug reported. #492640
     
    Last edited: Oct 4, 2012
  5. raimon.massanet

    raimon.massanet

    Joined:
    Feb 26, 2013
    Posts:
    4
    I have a similar problem.

    Is this a Unity bug or are we just missing something?
     
  6. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,597
    Even after a couple of emails back and forth with support I never fixed this.

    Recently I've been working on some new similar stuff in Unity 4 and this problem is not evident anymore :)
     
  7. dreamerflyer

    dreamerflyer

    Joined:
    Jun 11, 2011
    Posts:
    927
    I use 5.2.2F1,still have this problem-------------------No way??
     
    Ash-Blue likes this.
unityunity