Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by roady · Sep 21, 2015 at 07:54 PM · crashngui

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.

Log file (11mb)

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
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges