Unity crashed when resizing "scene" or "game" window

I’m on Unity 4.6.0f3 and a regular HP laptop with windows 7.

Im fooling around with some GUI, and then i have to stretch and resize the “scene” or the “game” window to see if the gui stretch as intended. Unfortunately Unity crashed, with no exception, every single time i drag the line between the scene window and the inspector, or the line between the scene window or any other thing. Even if i unattach the scene/game window and stretch it, it crashed…

Anyone with same problem? Anyone with an idea to fix this?

Greeting Rasmus

I’d say there are 2 things you could try.

  1. Go to the top-right, go to the “Layouts” dropdown, and try to change your layout, then change it back and see if it works.

  2. Go to your project root folder and delete your “ProjectSettings” folder. Open up your scene again and let it rebuild. This will change the default layout that you have saved, but it seems as if your layout may be corrupt, so that may be your only option. I, myself, have never ran into this issue, so I’m just offering suggestions.

Thanks for you suggestions. Unfortunately either changing the layout settings, or deleting the “ProjectSettings” folder had any effect, still crashed crashes on resize/stretch.
Changing the layout works fine, only resize/stretch the game/scene window crashes Unity, regardless if it is an entire new project, or an existing one

Hmm… Make sure all of your graphics drivers are up to date.

When it crashes, do you get the crash report window?

Open up your Editor log by going to your Debug console and following my picture below. Then copy/paste the contents of your log into your next reply.

I got a crash report window once, but only once. Heres a copy of my editor log:

LICENSE SYSTEM [2014124 15:40:41] No start/stop license dates set

LICENSE SYSTEM [2014124 15:40:41] Next license update check is after 2014-12-05T14:39:12

Built from ‘release/4.6/release’ branch; Version is ‘4.6.0f3 (30840d631a27) revision 178163’; Using compiler version ‘160040219’
BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, shouldGiveDebuggerChanceToAttach: 0
Initialize mono
Mono path[0] = ‘C:/Program Files (x86)/Unity/Editor/Data/Managed’
Mono path[1] = ‘C:/Program Files (x86)/Unity/Editor/Data/Mono/lib/mono/2.0’
Mono path[2] = ‘C:/Program Files (x86)/Unity/Editor/Data/UnityScript’
Mono config path = ‘C:/Program Files (x86)/Unity/Editor/Data/Mono/etc’
Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y
IsTimeToCheckForNewEditor: Update time 1417707551 current 1417704041
C:/Users/Rasmus/Documents/New Unity Project/Cubes
Loading GUID ↔ Path mappings … 0.001013 seconds.
Loading Asset Database … 0.003078 seconds
AssetDatabase consistency checks … 0.078005 seconds
Initialize engine version: 4.6.0f3 (30840d631a27)
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 11.0 [level 11.0]
Renderer: Intel(R) HD Graphics Family (ID=0x126)
Vendor: Intel
VRAM: 1070 MB
Begin MonoManager ReloadAssembly
Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Managed\UnityEngine.dll (this message is harmless)
Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Managed\UnityEditor.dll (this message is harmless)
Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Managed\Unity.Locator.dll (this message is harmless)
Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\I18N.dll (this message is harmless)
Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\I18N.West.dll (this message is harmless)
Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Managed\Unity.DataContract.dll (this message is harmless)
Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\System.Core.dll (this message is harmless)
Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\System.dll (this message is harmless)
Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Managed\Unity.IvyParser.dll (this message is harmless)
Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\System.Xml.dll (this message is harmless)
Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\System.Configuration.dll (this message is harmless)
Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\PackageManager\Unity\PackageManager\4.6.0\Unity.PackageManager.dll (this message is harmless)
Initializing Unity.PackageManager (PackageManager) v4.6.0 for Unity v4.6.0

Setting GUISystem v4.6.0 for Unity v4.6.0f3 to C:/Program Files (x86)/Unity/Editor/Data\UnityExtensions\Unity\GUISystem\4.6.0

Registering custom dll’s …
Register platform support module: C:/Program Files (x86)/Unity/Editor/Data/PlaybackEngines/AndroidPlayer/UnityEditor.Android.Extensions.dll
Register platform support module: C:/Program Files (x86)/Unity/Editor/Data/PlaybackEngines/iOSSupport/UnityEditor.iOS.Extensions.dll
Register platform support module: C:/Program Files (x86)/Unity/Editor/Data/PlaybackEngines/WP8Support/UnityEditor.WP8.Extensions.dll
Register platform support module: C:/Program Files (x86)/Unity/Editor/Data/PlaybackEngines/MetroSupport/UnityEditor.Metro.Extensions.dll
Register platform support module: C:/Program Files (x86)/Unity/Editor/Data/PlaybackEngines/BlackBerryPlayer/UnityEditor.BB10.Extensions.dll
Registered in 0.006603 seconds.
Non platform assembly: C:\Users\Rasmus\Documents\New Unity Project\Cubes\Library\ScriptAssemblies\Assembly-CSharp.dll (this message is harmless)
Loading C:\Users\Rasmus\Documents\New Unity Project\Cubes\Library\ScriptAssemblies\Assembly-CSharp.dll into Unity Child Domain
Non platform assembly: C:\Users\Rasmus\Documents\New Unity Project\Cubes\Library\ScriptAssemblies\Assembly-CSharp-Editor.dll (this message is harmless)
Loading C:\Users\Rasmus\Documents\New Unity Project\Cubes\Library\ScriptAssemblies\Assembly-CSharp-Editor.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\PackageManager\Unity\PackageManager\4.6.0\Unity.PackageManager.dll (this message is harmless)
Loading C:\Program Files (x86)\Unity\Editor\Data\PackageManager\Unity\PackageManager\4.6.0\Unity.PackageManager.dll into Unity Child Domain
Non platform assembly: C:\Program Files (x86)\Unity\Editor\Data\UnityExtensions\Unity\GUISystem\4.6.0\UnityEngine.UI.dll (this message is harmless)
Loading C:\Program Files (x86)\Unity\Editor\Data\UnityExtensions\Unity\GUISystem\4.6.0\UnityEngine.UI.dll into Unity Child Domain
Non platform assembly: C:\Program Files (x86)\Unity\Editor\Data\UnityExtensions\Unity\GUISystem\4.6.0\Editor\UnityEditor.UI.dll (this message is harmless)
Loading C:\Program Files (x86)\Unity\Editor\Data\UnityExtensions\Unity\GUISystem\4.6.0\Editor\UnityEditor.UI.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Managed\UnityEditor.Graphs.dll (this message is harmless)
Loading C:\Program Files (x86)\Unity\Editor\Data\Managed\UnityEditor.Graphs.dll into Unity Child Domain
Non platform assembly: C:\Program Files (x86)\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\UnityEditor.Android.Extensions.dll (this message is harmless)
Loading C:\Program Files (x86)\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\UnityEditor.Android.Extensions.dll into Unity Child Domain
Non platform assembly: C:\Program Files (x86)\Unity\Editor\Data\PlaybackEngines\iOSSupport\UnityEditor.iOS.Extensions.dll (this message is harmless)
Loading C:\Program Files (x86)\Unity\Editor\Data\PlaybackEngines\iOSSupport\UnityEditor.iOS.Extensions.dll into Unity Child Domain
Non platform assembly: C:\Program Files (x86)\Unity\Editor\Data\PlaybackEngines\WP8Support\UnityEditor.WP8.Extensions.dll (this message is harmless)
Loading C:\Program Files (x86)\Unity\Editor\Data\PlaybackEngines\WP8Support\UnityEditor.WP8.Extensions.dll into Unity Child Domain
Non platform assembly: C:\Program Files (x86)\Unity\Editor\Data\PlaybackEngines\MetroSupport\UnityEditor.Metro.Extensions.dll (this message is harmless)
Loading C:\Program Files (x86)\Unity\Editor\Data\PlaybackEngines\MetroSupport\UnityEditor.Metro.Extensions.dll into Unity Child Domain
Non platform assembly: C:\Program Files (x86)\Unity\Editor\Data\PlaybackEngines\BlackBerryPlayer\UnityEditor.BB10.Extensions.dll (this message is harmless)
Loading C:\Program Files (x86)\Unity\Editor\Data\PlaybackEngines\BlackBerryPlayer\UnityEditor.BB10.Extensions.dll into Unity Child Domain
Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Managed\Mono.Cecil.dll (this message is harmless)
Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\UnityScript.dll (this message is harmless)
Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Managed\ICSharpCode.NRefactory.dll (this message is harmless)
Mono: successfully reloaded assembly

  • Completed reload, in 0.639 seconds
    System memory in use before: 15.5 MB.
    Unloading 55 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)
    System memory in use after: 12.3 MB.

Unloading 21 unused Assets to reduce memory usage. Loaded Objects now: 353.
Total: 9.775333 ms (FindLiveObjects: 0.033252 ms CreateObjectMapping: 0.009441 ms MarkObjects: 0.640002 ms DeleteObjects: 0.674486 ms)

Validating Project structure … 0.001917 seconds.
Refresh: detecting if any assets need to be imported or removed … Refresh: elapses 0.002885 seconds (Nothing changed)
Downloading http://update.unity3d.com/4.6/ivy.xml to C:\Users\Rasmus\AppData\Local\Temp\unity\77f99691-7a79-4e3e-9610-9c713984680b\ivy.xml

Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\Mono.Security.dll (this message is harmless)
Task failed: Verifier Task

Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0\System.Xml.Linq.dll (this message is harmless)
Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Managed\nunit.framework.dll (this message is harmless)
System memory in use before: 15.8 MB.
Unloading 8 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)
System memory in use after: 13.3 MB.

Unloading 21 unused Assets to reduce memory usage. Loaded Objects now: 518.
Total: 10.005225 ms (FindLiveObjects: 0.051315 ms CreateObjectMapping: 0.010673 ms MarkObjects: 1.866229 ms DeleteObjects: 0.730727 ms)

Initializing input.

Input initialized.

Native extension for build target not found

Hmm, everything seems to be normal within your Editor.Log file… My suggestions would be to try and reinstall Unity if you haven’t already, update gfx drivers, and if all else fails, open a ticket with Unity.

Facing similar issue… Had this issue when 4.6 was in testing phase. I did submit a bug report that time.
Thought this would have in solved in final release. Using 4.6.1f1, still facing same issue. I guess this happens only when using new UI. Hoping for a solution soon.

Still having this issue. Crashed on 2017, last version, still crashing. 2018.3.0f2

Same issue 2018.3.0f2 like chesini. No answers on how to solve it

Have the same problem. Resizing windows crashes unity editor. Advised by unity team to update the graphic card driver, update DirectX. Have done both and run unity from command line but to no avail. I reinstalled unity, reset my PC and installed a fresh copy of unity; all that but still no solution.

Unity version Unity 2018.3.5f1 (64-bit)
Windows 10 Home
Intel Cord i5-8300H CPU
RAM: 8GB

Once the editor goes black; I tried to choose a different layout from the layout drop down list but Unity throws an error and prompts to send the error log to unity. It has been going on for weeks now. I have raised a ticket with the unity team; hoping for a solution soon.

Same problem here, using Unity 2018.2.17f1.
I already had this issue but it’s just gone at some point back then. I don’t remember what I did (if I did anything to fix it).
Anyone has a solution ? Unity team maybe ?

Also seeing this in 2018.3.0f2 and 2018.3.7f1, to recreate, hit play and try to resize the Game window. Also noted that forcing OpenGL mode in the Editor fixes the problem but is not compatible with many shaders (not an option in our case).

I have been advised this issue is known as a bug and work in progress. If your laptop is unplugged and your graphics cards has some automated optimisation settings; the above scenario can be duplicated by resizing the windows a couple of times. When your laptop is plugged; the problem shouldn’t occur.
kind regards

For me it happens when the laptop is plugged in. Works fine when unplugged, seems like some graphic related setting needs to be modified

Still happens for me 2019.1.2f1 and in previous versions. Only when laptop unplugged though.
dell inspiron 7567