Search Unity

Exporting prefab with sprite references might lose the reference

Discussion in 'Immediate Mode GUI (IMGUI)' started by Nihao, Oct 16, 2014.

  1. Nihao

    Nihao

    Joined:
    Oct 22, 2012
    Posts:
    13
    Hi, when I export a project, some of the sprite references disappear (Missing (Sprite)) even though the sprite is exported/imported correctly and everything works as expected in the original project.

    This happens to me in the Image component. It is consistent with the same objects. Some Image components reference the sprites correctly, some don't. What could be the problem?
     
  2. Nihao

    Nihao

    Joined:
    Oct 22, 2012
    Posts:
    13
    Fixed in 4.6 RC1, thank you Unity!
     
  3. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    I just posted a short "recipe" on my blog on how to detect these missing references: http://www.tallior.com/fixing-missing-references/

    It might be useful to verify if you have those broken references in your project... We had those and found them very late in the process.. This is why i developed the helper script (referred to in the post).