Author Topic: how to update nGUI  (Read 39357 times)

johntygtn

  • Guest
Re: how to update nGUI
« Reply #15 on: June 12, 2013, 07:41:58 AM »
Sorry to revive this thread.

Followed the instructions to update from 2.6.1e to 2.6.2
I updated once and it worked fine but had to revert back on SVN. When I reload the scene with 2.6.1e again everything is fine. Now when I update by creating a new scene, deleting the old NGUI (or overwriting the old), updating from the asset store and going back to the game scene all the Mono links are broken.

I have tried this process about 10 times now and the same result every time. Is there anything within the update process that can cause this to happen?

Johnty

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: how to update nGUI
« Reply #16 on: June 12, 2013, 09:48:10 AM »
If you've moved the NGUI files from the root that *can* happen.

If you don't have meta files activated, that will definitely happen.


Try doing it like this:

Open an empty scene (Ctral+n)
Don't delete the existing NGUI.
Goto asset store, update.
Import everything except examples (unless you need them).
when completed. Save project.
Restart unity.

Medico

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 10
    • View Profile
Re: how to update nGUI
« Reply #17 on: December 29, 2014, 03:42:18 PM »
The method of updating stated in the readme that asks you to delete NGUI from your project and reimport it sounds quite destructive to any scenes using NUGI doesn't it? Or am I getting something wrong?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: how to update nGUI
« Reply #18 on: December 30, 2014, 02:38:36 PM »
Starting the new scene is key. It ensures that NGUI is not referenced, allowing you to remove it and import it from an updated package safely.

Johanna

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 16
    • View Profile
Re: how to update nGUI
« Reply #19 on: April 11, 2015, 12:15:46 PM »
Great... I updated NGUI how it was described in the readme file - and now my prefabs are gone  :(

To all the newbies out there (like me):
Always make sure to save your prefabs in your own prefab folder. I assume dragging the prefab into the prefab toolbar saved it into the NGUI folder - which I have deleted. Oh and make sure you backup often. (I suggest on a daily base.)
« Last Edit: April 11, 2015, 12:39:49 PM by Johanna »

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: how to update nGUI
« Reply #20 on: April 18, 2015, 05:15:09 PM »
Oh jeez, Johanna that's rough. I hope you learned a valuable lesson about version control. Even in a project you only do yourself, it's an invaluable tool. https://bitbucket.org/ is a nice free one.