- Home /
Unity 5.2 Crash on focus
I've updated Unity to 5.2. When opening my project (from 5.1.3p0) it crashes. Seems to be crashing if I select another app and then focus back to Unity. Also when press Play or build it crashes.
Don't know if its Unity or the NGUI plugin that creates the issue. I've also opened another project (with NGUI) that works fine.
Last lines
(Filename: Assets/NGUI/Scripts/Internal/NGUIText.cs Line: 130)
NullReferenceException: Object reference not set to an instance of an object
at NGUIText.Update (Boolean request) [0x000f6] in /Volumes/Work/Unity/xRockets/Assets/NGUI/Scripts/Internal/NGUIText.cs:130
at NGUIText.Update () [0x00000] in /Volumes/Work/Unity/xRockets/Assets/NGUI/Scripts/Internal/NGUIText.cs:92
at UILabel.UpdateNGUIText () [0x00315] in /Volumes/Work/Unity/xRockets/Assets/NGUI/Scripts/UI/UILabel.cs:2046
at UILabel.ProcessText (Boolean legacyMode, Boolean full) [0x001c5] in /Volumes/Work/Unity/xRockets/Assets/NGUI/Scripts/UI/UILabel.cs:1237
at UILabel.ProcessText () [0x00000] in /Volumes/Work/Unity/xRockets/Assets/NGUI/Scripts/UI/UILabel.cs:1197
at UILabel.get_processedText () [0x0004c] in /Volumes/Work/Unity/xRockets/Assets/NGUI/Scripts/UI/UILabel.cs:845
at UILabel.OnFill (.BetterList`1 verts, .BetterList`1 uvs, .BetterList`1 cols) [0x000a6] in /Volumes/Work/Unity/xRockets/Assets/NGUI/Scripts/UI/UILabel.cs:1742
at UIWidget.UpdateGeometry (Int32 frame) [0x00081] in /Volumes/Work/Unity/xRockets/Assets/NGUI/Scripts/Internal/UIWidget.cs:1461
at UIPanel.UpdateWidgets () [0x0023c] in /Volumes/Work/Unity/xRockets/Assets/NGUI/Scripts/UI/UIPanel.cs:1596
at UIPanel.UpdateSelf () [0x0000c] in /Volumes/Work/Unity/xRockets/Assets/NGUI/Scripts/UI/UIPanel.cs:1237
at UIPanel.LateUpdate () [0x00035] in /Volumes/Work/Unity/xRockets/Assets/NGUI/Scripts/UI/UIPanel.cs:1198
at UIPanel.Refresh () [0x0001d] in /Volumes/Work/Unity/xRockets/Assets/NGUI/Scripts/UI/UIPanel.cs:1711
at UILabel.OnFontChanged (UnityEngine.Font font) [0x000ce] in /Volumes/Work/Unity/xRockets/Assets/NGUI/Scripts/UI/UILabel.cs:1001
at UnityEngine.Font.InvokeTextureRebuilt_Internal (UnityEngine.Font font) [0x00000] in <filename unknown>:0
(Filename: Assets/NGUI/Scripts/Internal/NGUIText.cs Line: 130)
Receiving unhandled NULL exception
Launching bug reporter
Obtained 18 stack frames.
#0 0x00000000000100 in (Unknown)
#1 0x0000010141d1a7 in AssetInterface::WriteRevertAssets(std::set<UnityGUID, std::less<UnityGUID>, std::allocator<UnityGUID> > const&, std::set<UnityGUID, std::less<UnityGUID>, std::allocator<UnityGUID> > const&)
#2 0x000001019a28df in Application::SaveScene(std::string, bool)
#3 0x000001019a2dcb in Application::FileMenuSave(bool)
#4 0x007fff95a31cd7 in _os_activity_initiate
#5 0x007fff8984feb1 in -[NSApplication sendAction:to:from:]
#6 0x007fff8984fc4e in -[NSMenuItem _corePerformAction]
#7 0x007fff8984f97c in -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:]
#8 0x007fff95a31cd7 in _os_activity_initiate
#9 0x007fff8984e8ad in -[NSMenu performKeyEquivalent:]
#10 0x007fff8984da6f in -[NSApplication _handleKeyEquivalent:]
#11 0x007fff8975883a in -[NSApplication sendEvent:]
#12 0x00000101be75b1 in -[EditorApplicationPrincipalClass sendEvent:]
#13 0x007fff89681b68 in -[NSApplication run]
#14 0x007fff895fe244 in NSApplicationMain
#15 0x00000101be7c96 in EditorMain(int, char const**)
#16 0x00000101be84e9 in main
#17 0x00000100002264 in start
Launching external process: /Applications/Unity 5.2/Unity.app/Contents/BugReporter/Unity Bug Reporter.app/Contents/MacOS/unity.bugreporter.exe
Comment
Your answer
Follow this Question
Related Questions
My Game crash on few android devices 0 Answers
Unity Crashes after Deleting Imported Packages 1 Answer
Editor Hangs after first play using plugin DLL 2 Answers
Win x86_64 build crashes on Opcode 1 Answer
Game Crashes On Startup? 3 Answers