Add Component crashes a lot

Frequently I have to be in fear of unity crashing when I want to add a script via the inspector.

  • click on Add Component
  • Search for a script
  • Hit enter to add

OR

  • click on Add Component
  • add a script by selecting it

Causes the editor to ctd frequently.

Refresh: detecting if any assets need to be imported or removed ... Refresh: elapses 0,013618 seconds (Nothing changed)
/home/builduser/buildslave/unity/build/Editor/Platform/Linux/UndoPlatformDependent.cpp:SetUndoMenuNamePlatformDependent
/home/builduser/buildslave/unity/build/Editor/Platform/Linux/RepaintController.cpp:UpdateScreenManagerAndInput
Refresh: detecting if any assets need to be imported or removed ... Refresh: elapses 0,019480 seconds (Nothing changed)
Receiving unhandled NULL exception
Launching bug reporter
#0  0x007ffef3c9bdc0 in _L_unlock_13
#1  0x007ffef3c9c200 in GUIView::smile:oPaint()
#2  0x007ffef3c9c280 in TooltipManager::Update()
#3  0x007ffef3c9c2e0 in Application::TickTimer()
#4  0x007ffef3c9c430 in MainMessageIteration(void*)
#5  0x007ffef3c9c440 in g_main_context_dispatch
#6  0x007ffef3c9c4c0 in g_main_context_dispatch
#7  0x007ffef3c9c520 in g_main_loop_run
#8  0x007ffef3c9c540 in gtk_main
#9  0x007ffef3c9c5b0 in main
#10 0x007ffef3c9c8d0 in __libc_start_main
#11 0x007ffef3c9c990 in _start

[edit]

I just wanted to add that the editor doesn’t crash when dragging the script from the project folder directly to the object/inspector. The issue should more or less be related to the popup dialogues, as it also happens when linking an object in the inspector (like setting a public transform to another object in the scene).

Just wanted to add a BIG thanks to the unity devs for fixing this problem in the newest build (Build #2015091501
). Seems like the editor doesn’t crash anymore when using Add Component.

Also I can now see the full color dialogue now. This is awesome. : )

I already got a lot of work done on my game with the experimental build, so I’m really happy. Now things will go even faster.

1 Like

This build is a lot better :slight_smile: I still can crash the Add Component dialog if I go like this:

  1. Click Add Component
  2. Click outside of the pop-up
  3. Move the mouse

Here’s the log:

http://sprunge.us/egaW

I tried to submit the report with the tool but it says “connection refused” right now.

Although this issue seems already fixed for some people (this old issue is marked as fixed) I’m getting this problem in Unity Linux 5.3.0f4

My Unity Editor crashes a lot specially when adding 2D physics components like RigidBody2D or BoxCollider2D (almost 100% of the times) :face_with_spiral_eyes:

Editor.log: http://pastebin.com/9TS19cmZ

Do you know of any fix or workaround for this?

I’ve been getting somewhat frequent crashes when adding UI and script components. I’ll post a log next time it happens.

I have the same problem running 5.3.3f1. Just after double clicking or multiple times clicking on Add Component.

Editor.log: Editor.log - Pastebin.com