Author Topic: UISprite sometimes not displayed after disabling and re-enabling Component  (Read 2367 times)

veeko

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
In a scene containing around 300 UISprites (not sure if quantity is relevant), sometimes a few of the UISprites aren't visible(refreshed) after disabling and re-enabling the component.

I can see in the inspector that the UISprite is indeed enabled, and moving it etc. will make it reappear.

Has anybody encounter this problem before? Is there a way I can prevent this from happening? Thanks in advance.

P.S. Sprites are grouped in groups of 3 sprites and are disabled, enabled together

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UISprite sometimes not displayed after disabling and re-enabling Component
« Reply #1 on: November 26, 2014, 08:16:08 PM »
How are you enabling/disabling them? Are you changing their parent at any point?