Author Topic: Update NGUI in a project worked with NGUI (older)  (Read 3574 times)

moghes

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 17
    • View Profile
Update NGUI in a project worked with NGUI (older)
« on: January 14, 2014, 05:41:23 AM »
Hello,

I have a project where I have started working with NGUI 3.0.6 , and not sure if I am able to switch to latest version and not
loose my work done with 3.0.6.

since I have a backup of my project, I clicked on update in the Asset Store and imported, now I see two readme files (old and new),
and can't figure out what version I am using or how did Unity handled that.

Maybe I have to continue my project with the version I started with.

Please can someone clarify me this point.

Thanks :)
moghes

Cripple

  • TNP Alpha
  • Full Member
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 117
    • View Profile
Re: Update NGUI in a project worked with NGUI (older)
« Reply #1 on: January 14, 2014, 05:54:27 AM »
Before importing a new NGUI package, you have to remove the NGUI folder.

I think that you can work with the last package, it includes a lot of bug fix, new features, and everything should work has expected. 3.0.6 is not that old.
Graphicstream Dev.

PaulGregory

  • Guest
Re: Update NGUI in a project worked with NGUI (older)
« Reply #2 on: January 14, 2014, 07:07:56 AM »
You won't lose *all* your work, but NGUI changes very rapidly so there's bound to be something you'll need to redo, rendering previous work useless.

npritchard

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 17
    • View Profile
Re: Update NGUI in a project worked with NGUI (older)
« Reply #3 on: January 14, 2014, 10:44:54 AM »
I don't think there's too much to worry about since 3.0.6 - as Paul said there may be some rework required but while you're still in development it's best to keep at the bleeding edge of NGUI versions.

Familiarize yourself with the update process and don't fear it, you'll thank yourself later.

Here's what I do:
- Open Blank Scene in Unity
- Back up previous NGUI version
- Delete NGUI project folder
- Download latest NGUI from asset store
- Uncheck 'Examples' folder and import (not necessary but I like to keep my project tidy)
- Read the latest release notes!! :)

I just updated a project that has come out of feature-freeze from NGUI 2.5.1 and survived!

moghes

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 17
    • View Profile
Re: Update NGUI in a project worked with NGUI (older)
« Reply #4 on: January 14, 2014, 10:58:14 AM »
Great thanks to all :D

As the first time I updated without deleting the "older" NGUI folder.. it got messed up.

I opened the back up project and did as you guys told..
no errors and no extra work to be done, till now everything working perfectly.
It was simpler than I imagined.