Author Topic: Problem after upgrade  (Read 2760 times)

iwishash

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Problem after upgrade
« on: March 22, 2013, 03:46:12 AM »
Hi,
I did upgrade NGUI latest version (2.5.0c).
(create new scene, delete ngui folder, import new version)
After that, I got a problem.
There's no contents in the uisprite, slicedsprite, panel..scripts like attached pics.
How can I fix that?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Problem after upgrade
« Reply #1 on: March 22, 2013, 10:47:54 AM »
As the warning message says, fix whatever error you have in the console log.

MGB

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Re: Problem after upgrade
« Reply #2 on: March 24, 2013, 12:06:32 PM »
The latest release notes describe rather fundamental changes to some of the sprite stuff...

webik150

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 36
    • View Profile
Re: Problem after upgrade
« Reply #3 on: March 24, 2013, 12:19:12 PM »
I have the same problem. I was searching for the errors in console, but I couldn't find any. The NGUI is completely unusable with this problem.

EDIT: Wait a sec... I have the exactly same problem, but it started out of nothing. I wasn't updating or anything. I just started unity and it popped out.
« Last Edit: March 24, 2013, 12:31:49 PM by webik150 »

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Problem after upgrade
« Reply #4 on: March 24, 2013, 12:25:37 PM »
This has nothing to do with the reworking of the sprites. If you upgrade properly, it will exchange all UISlicedSprites (and the other types) with UISprite and choose the right version - ie. it should not break.

Did you follow proper procedures for upgrading?

This can happen if Unity can't recognize the meta files or if the library has become corrupted. Revert to a revision before you updated (I assume you have version control) and try again.