Author Topic: Creating a new font crashes Unity 100% of the time  (Read 44814 times)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #15 on: November 17, 2012, 09:03:05 PM »
I was forwarded a Unity crash report on the issue, and it's... bizzarre. The crash occurs in a strange part of the code with no call stack to trace. I'll keep digging and narrow it down though.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #16 on: November 17, 2012, 09:48:53 PM »
The stack trace proved to be pretty useless, but I did narrow down the steps that cause it to crash at least... and it has something to do with a dialog window being open. I simply removed the dialog window, and the problem went away. 2.2.6c has the fix.

lime-green.at

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 60
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #17 on: November 18, 2012, 03:32:38 AM »
Yeah, i submitted an error log some days ago, but i didnt expect that they are going to forward it to you. Great job, ill upgrade my project up to the newest version of NGUI and edit that post to make sure you know if it worked or not.

Regards

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #18 on: November 18, 2012, 04:52:15 AM »
I work at Unity, so no reason for them not to. :)

lime-green.at

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 60
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #19 on: November 18, 2012, 05:22:55 AM »
Ah, thats nice. You should suggest them to build in NGUI into Unity, so nobody ever has to deal with the ridiculous built-in gui system of unity ;)

seattlefella

  • Guest
Re: Creating a new font crashes Unity 100% of the time
« Reply #20 on: December 02, 2012, 10:55:26 PM »
I am also having the crashing problem 100% of the time;  very simple project under 50 meg.;  NGUI version 2.2.6  I do not see a 2.2.6C on the unity asset store.  Does version C fix the problem?  Or was there some other action that made it go away for the other users.  Many thanks,

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #21 on: December 03, 2012, 10:39:39 AM »
Yes 2.2.6c fixes it. The asset store has C.

renderhjs

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 17
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #22 on: February 12, 2013, 12:05:01 AM »
I have version 2.2.7c but I too started to get every time crashes when creating a font, basically after pressing the create button Unity crashes



This didn't used to happen when I started with the project. This is frustrating because I depend on the NGUI scripts to use fonts.

renderhjs

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 17
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #23 on: February 12, 2013, 12:06:53 AM »
I fixed it,
at least if I close all other nGui panels it doesn't crash anymore. I think the crash is related to other panels not updating correctly.

renderhjs

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 17
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #24 on: February 12, 2013, 08:00:17 PM »
Today it keeps happening even though I close all the NGui panels  >:(

Maybe I am just guessing randomly, but when I did hide any NGUI ui in the viewport (move camera away) it did work this time. Still it worries me because I will have to deal with more fonts in the next few days and weeks and if it keeps crashing I need to look into a serious fix.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #25 on: February 13, 2013, 01:50:50 PM »
There are no crashes using the latest version of NGUI in either Unity 3.5.X nor 4.X, so I can't comment much on this one.

renderhjs

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 17
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #26 on: February 25, 2013, 02:31:59 AM »
I had again consistent crashes today (4x in a row)  >:( there is seriously something broken in NGUI, I have the latest version of NGUI and an up to date Unity 4 pro.
The only way it worked in the end was to close any NGui panels, create or go to a empty scene and then create the font. Please fix this, as it makes working with multiple fonts almost impossible and Unity highly unstable.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #27 on: February 25, 2013, 06:15:43 AM »
Unless you provide clear steps I can follow to reproduce it, there is nothing I can do. As far as I know, you are the only one experiencing this issue.

sintua

  • Jr. Member
  • **
  • Thank You
  • -Given: 7
  • -Receive: 0
  • Posts: 63
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #28 on: February 25, 2013, 11:39:42 PM »
He's not the only one. I have a fresh install of Unity, fresh install of NGUI, and a fresh Scene and the exact same problem happens to me.

Whenever I try to create a font with Font Maker, I click create the font and it opens the atlas changed dialogue. i click ok, get a spinning wheel for a second, and unity crashes. This happens EVERY time.

However, if I create the same font WITHOUT selecting an atlas, it works fine, every time.
I can then select that font and the atlas I want, and "replace the font", and it *seems* to add it to the proper atlas without any fuss.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #29 on: February 26, 2013, 07:20:29 AM »
Atlas changed dialog? There is no atlas changed dialog. This was removed a long time ago.