Author Topic: NGUI errors in latest Unity 5.4 beta  (Read 4560 times)

Meltdown

  • Jr. Member
  • **
  • Thank You
  • -Given: 10
  • -Receive: 0
  • Posts: 56
    • View Profile
NGUI errors in latest Unity 5.4 beta
« on: March 15, 2016, 08:40:19 PM »
I've just downloaded the latest 5.4 beta, and get the following error from NGUI

NullReferenceException: Object reference not set to an instance of an object
NGUITools.get_screenSize () (at Assets/NGUI/Scripts/Internal/NGUITools.cs:1871)
UIRoot.get_activeHeight () (at Assets/NGUI/Scripts/UI/UIRoot.cs:173)
UIRoot.UpdateScale (Boolean updateAnchors) (at Assets/NGUI/Scripts/UI/UIRoot.cs:277)
UIRoot.Start () (at Assets/NGUI/Scripts/UI/UIRoot.cs:257)

I get this with NGUI 3.9.7.

For some reason my sprites all look fine, but all my text is missing in my UI or grossly mis-scaled.

Thanks

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI errors in latest Unity 5.4 beta
« Reply #1 on: March 17, 2016, 06:54:49 AM »
Since I'm tired of answering this, I'll just upload a new version that has been in the Pro repository for a while...