Author Topic: Update to 3.7.3 has errors  (Read 4230 times)

mtran003

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
    • View Profile
Update to 3.7.3 has errors
« on: September 21, 2014, 12:23:35 PM »
I am trying to upgrade from and earlier 2.x version (don't recall exactly which) on an existing project.  I followed the upgrade instructions, such as it is, exactly as I can understand them -- which is all of three lines:

1. In Unity, File -> New Scene
2. Delete the NGUI folder from the Project View.
3. Import NGUI from the updated Unity Package.

But I get have this error in my legacy custom code:

  1. Assets/Scripts/SelectBoard.js(13,23): BCE0018: The name 'UISlicedSprite' does not denote a valid type ('not found').

I understand the UISlicedSprite no longer exists.  What's the best way to resolve?

Thanks,
Manny


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Update to 3.7.3 has errors
« Reply #1 on: September 22, 2014, 10:07:08 AM »
You need to follow the 3 step upgrade process carefully. Delete the old NGUI folder before importing the new one, or you get old leftover scripts hanging around.