Author Topic: Unity 4.6.7 UILabels errors  (Read 8740 times)

xenonii

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Unity 4.6.7 UILabels errors
« on: July 13, 2015, 07:21:05 AM »
Hi,
I just updated to Unity 4.6.7 and it is giving me:
  1. Assets/NGUI/Scripts/UI/UILabel.cs(910,60): error CS0618: `UnityEngine.Font.textureRebuildCallback' is obsolete: `Font.textureRebuildCallback has been deprecated. Use Font.textureRebuilt instead.'

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Unity 4.6.7 UILabels errors
« Reply #1 on: July 14, 2015, 11:56:41 PM »
Do you mean Unity 5.1? textureRebuildCallback is not deprecated in 4.6. I have 4.6.7 installed myself. Font.textureRebuilt doesn't exist in Unity 4.

odyssey.l

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Re: Unity 4.6.7 UILabels errors
« Reply #2 on: August 26, 2015, 03:15:18 AM »
I'm having the same issue and using 4.6.7p3.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Unity 4.6.7 UILabels errors
« Reply #3 on: August 26, 2015, 12:24:48 PM »
Yes, known bug Unity introduced in the patch version. It's a regression bug they introduced, and there is no way to #ifdef check the version of Unity between 4.6.7 final and patch versions, so I can't do anything about it.