Problem is not reproducible or outdated
my Editor freezes when i hit play.
Debug.Log() does not give any output.
Also I can not find any error in the debug file:
LICENSE SYSTEM [2013515 10:54:32] No start/stop license dates set
LICENSE SYSTEM [2013515 10:54:32] Next license update check is after 2013-05-16T05:15:48
BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, shouldGiveDebuggerChanceToAttach: 0
Mono path = 'D:/Entwicklung/Unity/Data/Managed'
Mono path = 'D:/Entwicklung/Unity/Data/Mono/lib/mono/2.0'
Mono path = 'D:/Entwicklung/Unity/Data/UnityScript'
Mono config path = 'D:/Entwicklung/Unity/Data/Mono/etc'
Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y
IsTimeToCheckForNewEditor: Update time 1368610660 current 1368608072
Loading GUID <-> Path mappings ... 0.000687 seconds.
Loading Asset Database ... 0.001360 seconds
AssetDatabase consistency checks ... 0.021652 seconds
Initialize engine version: 4.1.2f1 (911c7369eeac)
Disabled multithreaded rendering due to old version of Windows.
Changing input language can cause lockups with versions before Vista.
Use -force-gfx-mt option on the command line to override.
GfxDevice: creating device client; threaded=0
Version: Direct3D 9.0c [ati2dvag.dll 184.108.40.20679]
Renderer: ATI Radeon HD 5700 Series
VRAM: 1024 MB (via registry)
Caps: Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=1 DF24=1 INTZ=1 RAWZ=0 NULL=1 RESZ=1 SlowINTZ=1
Registering custom dll's ... 0.000347 seconds.
Begin MonoManager ReloadAssembly
Platform assembly: D:\Entwicklung\Unity\Data\Managed\UnityEngine.dll (this message is harmless)
Platform assembly: D:\Entwicklung\Unity\Data\Managed\UnityEditor.dll (this message is harmless)
Non platform assembly: D:\Entwicklung\Projects\Versuch1\Library\ScriptAssemblies\Assembly-UnityScript.dll (this message is harmless)
Loading D:\Entwicklung\Projects\Versuch1\Library\ScriptAssemblies\Assembly-UnityScript.dll into Unity Child Domain
Platform assembly: D:\Entwicklung\Unity\Data\Managed\UnityEditor.Graphs.dll (this message is harmless)
Loading D:\Entwicklung\Unity\Data\Managed\UnityEditor.Graphs.dll into Unity Child Domain
Platform assembly: D:\Entwicklung\Unity\Data\Mono\lib\mono\2.0\I18N.dll (this message is harmless)
Platform assembly: D:\Entwicklung\Unity\Data\Mono\lib\mono\2.0\I18N.West.dll (this message is harmless)
Platform assembly: D:\Entwicklung\Unity\Data\Mono\lib\mono\2.0\System.Core.dll (this message is harmless)
Platform assembly: D:\Entwicklung\Unity\Data\Mono\lib\mono\2.0\System.dll (this message is harmless)
Platform assembly: D:\Entwicklung\Unity\Data\Managed\Mono.Cecil.dll (this message is harmless)
Platform assembly: D:\Entwicklung\Unity\Data\Mono\lib\mono\2.0\System.Xml.dll (this message is harmless)
Platform assembly: D:\Entwicklung\Unity\Data\Mono\lib\mono\2.0\UnityScript.dll (this message is harmless)
Platform assembly: D:\Entwicklung\Unity\Data\Managed\ICSharpCode.NRefactory.dll (this message is harmless)
Mono: successfully reloaded assembly
- Completed reload, in 0.220 seconds
System memory in use before: 2.7 MB.
Unloading 24 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)
System memory in use after: 1.7 MB.
Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 49.
Total: 4.453769 ms (FindLiveObjects: 0.014618 ms CreateObjectMapping: 0.004883 ms MarkObjects: 0.301567 ms DeleteObjects: 0.009365 ms)
Validating Project structure ... 0.000333 seconds.
Refresh, detecting if any assets need to be imported or removed ... 0.000676 seconds (Nothing changed)
Platform assembly: D:\Entwicklung\Unity\Data\Mono\lib\mono\2.0\System.Xml.Linq.dll (this message is harmless)
System memory in use before: 5.3 MB.
Unloading 5 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)
System memory in use after: 3.2 MB.
Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 341.
Total: 12.132154 ms (FindLiveObjects: 0.053822 ms CreateObjectMapping: 0.023576 ms MarkObjects: 1.456360 ms DeleteObjects: 0.024602 ms)
<RI> Initializing input.
<RI> Input initialized.
Does anyone know what is going on?
I hope i did not forget any information
This happens to me when I have a Coroutine or an Iterator that is not functioning correctly. There is no error or warning, it just freezes. Try to think of some script you may have that is using a Coroutine, Yield, i++, anything you can think of, and post that code. This is usually an easy fix, but I have to have the code that is possibly causing the issue. Try to think of the last script you worked on before this happened.
This mostly happends when a blocking while loop is used in the deployed thread. You might consider using UdpClient.BeginReceive (Google it up!). The provided example is good enough.
Thank you @clunk47!
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
16 People are following this question.
How can I find editor log file?
Android freezes on attaching VS/Mono debugger
Editor freezes while playing audio loop.
How can I attach a debugger to the code running on the editor or to the builded client
Is there a way to set Unity to write message log when the calculation has Infinity or NaN?