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

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 #30 on: February 26, 2013, 04:33:07 PM »
Atlas changed dialog? There is no atlas changed dialog. This was removed a long time ago.

Haha, ok so the problem is something else... The asset store apparently wasn't actually updating my NGUI package despite directly telling it to do so. Still on 2.2.6B... Sorry about that :P

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 #31 on: February 26, 2013, 07:46:10 PM »
"B" in 2.2.6B stands for "BUG" :P

dubbreak

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #32 on: March 07, 2013, 05:27:27 PM »
I'm seeing this in 3.5.7f6 with ngui 2.3.4. It was crashing every time I attempted to create the font (and resulted in a corrupted atlas that I have to update all my graphics in order to fix).

I finally got it to work by creating a new scene that contains nothing before attempting to create the font.

I checked the crash files and nothing useful in there. The scene I had loaded uses ngui extensively though (as in I should probably be using a sprite solution for some of it instead  ;D).. so maybe that's part of the issue. The atlas texture is 2048x2048.

When I attempted in in a bare scene it was really quick and in the scene where it crashes it grinds for a decent amount of time before it crashes.

DrLoomis

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 35
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #33 on: April 17, 2013, 09:23:41 PM »
Still seeing this with 2.5.1 in Unity 3.5.7f6.

Creating fonts in a new scene does seem to help; in my primary gameplay scene I created two fonts successfully and then kept crashing on the third one (i.e. quit, reopen, try the same thing, crash again, wash, rinse, repeat). In a new scene, I was able to create the remainder of my fonts without issue.

It crashed the first time in 2.3.6, so I checked for a new version, updated to 2.5.1 and still got the crash (this was all in my main gameplay scene). So nothing between 2.3.6 and 2.5.1 seems to have affected it. The crash is still lurking. I reported the crashes through the automated bug reporter.

DrLoomis

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 35
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #34 on: April 17, 2013, 09:26:12 PM »
The rampant crashing completely corrupted my font atlas.

Now I have to go add them all back to the atlas one by one, and possibly recreate them all. Awesome.

dubbreak

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #35 on: May 03, 2013, 05:02:33 PM »
Yeah, still happening to me. It was working fine in a new scene until I had to delete then reimport a font (think I accidentally exported it as 8 bit at first so it was goofy). After deleting it from the atlas and deleting the prefab I tried to reimport and it crashed and continues to crash if I try to create a font.

Time to try the empty scene again. It corrupted my atlas of course, so I had to 'update' all my sprites again. Pain to say the least. Kind of kills my productivity to say the least. Not a good way to keep motivated on a Friday afternoon..oh well....

DrLoomis

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 35
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #36 on: June 10, 2013, 04:43:02 PM »
Still seeing this.

OS X 10.8.4
Unity 3.5.7f6
NGUI 2.6.2

Any hope of a 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 #37 on: June 10, 2013, 11:25:19 PM »
Without steps to reproduce, there is nothing I can do as I don't encounter this issue. Any additional info besides "still seeing this" would be helpful.

DrLoomis

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 35
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #38 on: June 11, 2013, 12:38:00 PM »
I gave you all the information I could (repro steps and the log file) when I reported the bug seven months ago. A number of other users have also seen the bug and shared information in the thread, and in your own previous posts you said you'd tracked it down to at least one thing (which I guess has since rebroken). Perhaps re-reading the full thread will jog your memory or provide clues.

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 #39 on: June 11, 2013, 12:54:21 PM »
The report was for a completely different issue that was caused by a popup dialog that got fixed a long time ago. I do not experience any issues with the current workflow, and know no steps to reproduce with the latest version.

dubbreak

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #40 on: August 28, 2013, 10:01:34 PM »
I don't think the steps to reproduce are going to be helpful since they are basically, "Make a font, like normal." Then sometimes it will crash, sometimes it won't. I can see if I can cut down an existing project into something smaller I can upload that will reliably reproduce the issue. Currently even the workaround of opening a new scene isnt' working (still crashes in a new scene).

Biggest issue is that the atlas ends up corrupted after the crash (despite not saving the scene). The fix for that is to select all the graphics in the atlas and do a "add/update all". This is the biggest problem for me. Crashing is livable (it's Unity, it crashes), but the having to rebuild the atlas is a pita. Then I'm crossing my fingers it won't happen on the next attempt.

I'll try to make a smaller project and upload it to some web hosting so you can attempt to reproduce it.


bbfy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #41 on: May 21, 2017, 05:30:00 AM »
same for me with attached font.

dubbreak

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Re: Creating a new font crashes Unity 100% of the time
« Reply #42 on: May 23, 2017, 02:39:47 PM »
The workaround I found that works every time is to open up Unity fresh before importing a font.

It definitely was an issue if my computer had slept then woke up but I think also if I had Unity open for a long time.

In any case, closing Unity, opening then selecting my scene and importing worked fine every time.