Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Editor scene complete black

Discussion in 'Editor & General Support' started by Metron, Jun 17, 2014.

  1. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    Hi,

    recently, with the 4.5 update, my scene editor goes complete black (no shaders loaded). This doesn't happen every time, but when it does, I don't get any error message or whatsoever...

    I have to reload another scene with the same shaders (Marmorset) which is shown correctly. Afterwards, I can switch back to the original scene.

    HOW THE F* are you supposed to work with Unity if this happens?!? This is ridiculous. If something goes wrong (like shaders not loading correctly), give me a message about it, so I actually can TRY to submit a MEANINGFUL repro-case. UNITY wants repro cases, BUT WE MUST BE ABLE to determine what is going on.

    I cannot repro it if the same, untouched scene WORKS ONE DAY and DOESN'T WORK ANYMORE THE NEXT DAY.

    Yes, I am angry and UPSET... This happens MUCH TO OFTEN with Unity recently... I don't care that you do intermediate releases... I download them (@1 GB per release...) but the fixed content is too sparse to justify those...

    SO:

    A) How can I determine what happened if the scene is completely black and I don't get an error message?
    B) How can I check which parameter is responsible for my scene not loading correctly?
    C) Is there any flag I can set to get more verbose error messages (if any)?
    D) Are Unity Developers still reading this forum? (SIMILAR ERROR has been posted by me in the Android forum where a FINAL build shows completely black where transparency shaders are used... no reaction whatsoever from Unity Devs)...

    With love,
    Metron
     
  2. SpiriTx

    SpiriTx

    Graphics QA Unity Technologies

    Joined:
    Apr 12, 2012
    Posts:
    252
    Hi,

    Does this affect only scene view? Is game view still rendered correctly?
    Could you please attach screenshots of whole editor when the bug is occurring?

    Any errors logged would be in editor logs. You can check that out and share them here too.
     
  3. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    Hi,

    this doesn't only concern the scene view. The game view is not rendered correctly either. I've joined a screenshot.

    The log looks like this:



    LICENSE SYSTEM [2014618 9:4:52] Next license update check is after 2014-06-18T14:01:05

    Built from 'release/4.5/release' branch; Version is '4.5.1f3 (73cd57f80e3e) revision 153090'; Using compiler version '160040219'
    BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, shouldGiveDebuggerChanceToAttach: 0
    Initialize mono
    Mono path[0] = 'D:/Tools/Unity/Editor/Data/Managed'
    Mono path[1] = 'D:/Tools/Unity/Editor/Data/Mono/lib/mono/2.0'
    Mono path[2] = 'D:/Tools/Unity/Editor/Data/UnityScript'
    Mono config path = 'D:/Tools/Unity/Editor/Data/Mono/etc'
    Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y
    IsTimeToCheckForNewEditor: Update time 1403017257 current 1403075092
    D:/Projects/Arvi3D/02 Projects/01 Inhouse/03_Car_Demo
    Loading GUID <-> Path mappings ... 0.007011 seconds.
    Loading Asset Database ... 0.008023 seconds
    AssetDatabase consistency checks ... 0.024916 seconds
    Initialize engine version: 4.5.1f3 (73cd57f80e3e)
    GfxDevice: creating device client; threaded=1
    Direct3D:
    Version: Direct3D 11.0 [level 11.0]
    Renderer: NVIDIA GeForce GTX 780 (ID=0x1004)
    Vendor: NVIDIA
    VRAM: 2962 MB
    Begin MonoManager ReloadAssembly
    Platform assembly: D:\Tools\Unity\Editor\Data\Managed\UnityEngine.dll (this message is harmless)
    Platform assembly: D:\Tools\Unity\Editor\Data\Managed\UnityEditor.dll (this message is harmless)
    Platform assembly: D:\Tools\Unity\Editor\Data\Managed\Unity.Locator.dll (this message is harmless)
    Platform assembly: D:\Tools\Unity\Editor\Data\Mono\lib\mono\2.0\I18N.dll (this message is harmless)
    Platform assembly: D:\Tools\Unity\Editor\Data\Mono\lib\mono\2.0\I18N.West.dll (this message is harmless)
    Platform assembly: D:\Tools\Unity\Editor\Data\Managed\Unity.DataContract.dll (this message is harmless)
    Platform assembly: D:\Tools\Unity\Editor\Data\Mono\lib\mono\2.0\System.Core.dll (this message is harmless)
    Platform assembly: D:\Tools\Unity\Editor\Data\Mono\lib\mono\2.0\System.dll (this message is harmless)
    Platform assembly: D:\Tools\Unity\Editor\Data\Managed\Unity.IvyParser.dll (this message is harmless)
    Platform assembly: D:\Tools\Unity\Editor\Data\Mono\lib\mono\2.0\System.Xml.dll (this message is harmless)
    Platform assembly: D:\Tools\Unity\Editor\Data\Mono\lib\mono\2.0\System.Configuration.dll (this message is harmless)
    Platform assembly: D:\Tools\Unity\Editor\Data\PackageManager\Unity\PackageManager\4.5.1\Unity.PackageManager.dll (this message is harmless)
    Initializing Unity.PackageManager (PackageManager) v4.5.1 for Unity v4.5.1

    Registering custom dll's ...
    Non platform assembly: data-17590860 (this message is harmless)
    Non platform assembly: data-17590860 (this message is harmless)
    Non platform assembly: data-17590860 (this message is harmless)
    Non platform assembly: data-17590860 (this message is harmless)
    Non platform assembly: data-17590860 (this message is harmless)
    Non platform assembly: data-17590860 (this message is harmless)
    Non platform assembly: data-1758B8B0 (this message is harmless)
    Register platform support module: D:/Tools/Unity/Editor/Data/PlaybackEngines/AndroidPlayer/UnityEditor.Android.Extensions.dll
    Register platform support module: D:/Tools/Unity/Editor/Data/PlaybackEngines/iOSSupport/UnityEditor.iOS.Extensions.dll
    Register platform support module: D:/Tools/Unity/Editor/Data/PlaybackEngines/WP8Support/UnityEditor.WP8.Extensions.dll
    Register platform support module: D:/Tools/Unity/Editor/Data/PlaybackEngines/MetroSupport/UnityEditor.Metro.Extensions.dll
    Register platform support module: D:/Tools/Unity/Editor/Data/PlaybackEngines/BlackBerryPlayer/UnityEditor.BB10.Extensions.dll
    Registered in 0.028431 seconds.
    Non platform assembly: D:\Projects\Arvi3D\02 Projects\01 Inhouse\03_Car_Demo\Library\ScriptAssemblies\Assembly-CSharp-firstpass.dll (this message is harmless)
    Loading D:\Projects\Arvi3D\02 Projects\01 Inhouse\03_Car_Demo\Library\ScriptAssemblies\Assembly-CSharp-firstpass.dll into Unity Child Domain
    Non platform assembly: D:\Projects\Arvi3D\02 Projects\01 Inhouse\03_Car_Demo\Library\ScriptAssemblies\Assembly-CSharp.dll (this message is harmless)
    Loading D:\Projects\Arvi3D\02 Projects\01 Inhouse\03_Car_Demo\Library\ScriptAssemblies\Assembly-CSharp.dll into Unity Child Domain
    Non platform assembly: D:\Projects\Arvi3D\02 Projects\01 Inhouse\03_Car_Demo\Library\ScriptAssemblies\Assembly-CSharp-Editor.dll (this message is harmless)
    Loading D:\Projects\Arvi3D\02 Projects\01 Inhouse\03_Car_Demo\Library\ScriptAssemblies\Assembly-CSharp-Editor.dll into Unity Child Domain
    Non platform assembly: D:\Projects\Arvi3D\02 Projects\01 Inhouse\03_Car_Demo\Library\ScriptAssemblies\Assembly-UnityScript-firstpass.dll (this message is harmless)
    Loading D:\Projects\Arvi3D\02 Projects\01 Inhouse\03_Car_Demo\Library\ScriptAssemblies\Assembly-UnityScript-firstpass.dll into Unity Child Domain
    Non platform assembly: D:\Projects\Arvi3D\02 Projects\01 Inhouse\03_Car_Demo\Library\ScriptAssemblies\Assembly-UnityScript.dll (this message is harmless)
    Loading D:\Projects\Arvi3D\02 Projects\01 Inhouse\03_Car_Demo\Library\ScriptAssemblies\Assembly-UnityScript.dll into Unity Child Domain
    Platform assembly: D:\Tools\Unity\Editor\Data\PackageManager\Unity\PackageManager\4.5.1\Unity.PackageManager.dll (this message is harmless)
    Loading D:\Tools\Unity\Editor\Data\PackageManager\Unity\PackageManager\4.5.1\Unity.PackageManager.dll into Unity Child Domain
    Non platform assembly: D:\Projects\Arvi3D\02 Projects\01 Inhouse\03_Car_Demo\Assets\Plugins\FlyingText3D.dll (this message is harmless)
    Loading D:\Projects\Arvi3D\02 Projects\01 Inhouse\03_Car_Demo\Assets\Plugins\FlyingText3D.dll into Unity Child Domain
    Non platform assembly: D:\Projects\Arvi3D\02 Projects\01 Inhouse\03_Car_Demo\Assets\UnityVS\Editor\SyntaxTree.VisualStudio.Unity.Bridge.dll (this message is harmless)
    Loading D:\Projects\Arvi3D\02 Projects\01 Inhouse\03_Car_Demo\Assets\UnityVS\Editor\SyntaxTree.VisualStudio.Unity.Bridge.dll into Unity Child Domain
    Non platform assembly: D:\Projects\Arvi3D\02 Projects\01 Inhouse\03_Car_Demo\Assets\UnityVS\Editor\SyntaxTree.VisualStudio.Unity.Messaging.dll (this message is harmless)
    Loading D:\Projects\Arvi3D\02 Projects\01 Inhouse\03_Car_Demo\Assets\UnityVS\Editor\SyntaxTree.VisualStudio.Unity.Messaging.dll into Unity Child Domain
    Non platform assembly: D:\Projects\Arvi3D\02 Projects\01 Inhouse\03_Car_Demo\Assets\UnityVS\Editor\UnityVS.VersionSpecific.dll (this message is harmless)
    Loading D:\Projects\Arvi3D\02 Projects\01 Inhouse\03_Car_Demo\Assets\UnityVS\Editor\UnityVS.VersionSpecific.dll into Unity Child Domain
    Platform assembly: D:\Tools\Unity\Editor\Data\Managed\UnityEditor.Graphs.dll (this message is harmless)
    Loading D:\Tools\Unity\Editor\Data\Managed\UnityEditor.Graphs.dll into Unity Child Domain
    Non platform assembly: D:\Tools\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\UnityEditor.Android.Extensions.dll (this message is harmless)
    Loading D:\Tools\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\UnityEditor.Android.Extensions.dll into Unity Child Domain
    Non platform assembly: D:\Tools\Unity\Editor\Data\PlaybackEngines\iOSSupport\UnityEditor.iOS.Extensions.dll (this message is harmless)
    Loading D:\Tools\Unity\Editor\Data\PlaybackEngines\iOSSupport\UnityEditor.iOS.Extensions.dll into Unity Child Domain
    Non platform assembly: D:\Tools\Unity\Editor\Data\PlaybackEngines\WP8Support\UnityEditor.WP8.Extensions.dll (this message is harmless)
    Loading D:\Tools\Unity\Editor\Data\PlaybackEngines\WP8Support\UnityEditor.WP8.Extensions.dll into Unity Child Domain
    Non platform assembly: D:\Tools\Unity\Editor\Data\PlaybackEngines\MetroSupport\UnityEditor.Metro.Extensions.dll (this message is harmless)
    Loading D:\Tools\Unity\Editor\Data\PlaybackEngines\MetroSupport\UnityEditor.Metro.Extensions.dll into Unity Child Domain
    Non platform assembly: D:\Tools\Unity\Editor\Data\PlaybackEngines\BlackBerryPlayer\UnityEditor.BB10.Extensions.dll (this message is harmless)
    Loading D:\Tools\Unity\Editor\Data\PlaybackEngines\BlackBerryPlayer\UnityEditor.BB10.Extensions.dll into Unity Child Domain
    Platform assembly: D:\Tools\Unity\Editor\Data\Managed\Mono.Cecil.dll (this message is harmless)
    Platform assembly: D:\Tools\Unity\Editor\Data\Mono\lib\mono\2.0\UnityScript.dll (this message is harmless)
    Platform assembly: D:\Tools\Unity\Editor\Data\Managed\ICSharpCode.NRefactory.dll (this message is harmless)
    Platform assembly: D:\Tools\Unity\Editor\Data\Mono\lib\mono\2.0\System.Xml.Linq.dll (this message is harmless)
    Mono: successfully reloaded assembly
    - Completed reload, in 0.467 seconds
    System memory in use before: 22.3 MB.
    Unloading 154 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)
    System memory in use after: 12.4 MB.
    Downloading http://update.unity3d.com/4.5/ivy.xml to C:\Users\Stefan\AppData\Local\Temp\unity\57b3ce16-5976-4620-ab10-b1bbcad80b41\ivy.xml
    Unloading 32 unused Assets to reduce memory usage. Loaded Objects now: 149.
    Total: 14.379904 ms (FindLiveObjects: 0.013752 ms CreateObjectMapping: 0.004157 ms MarkObjects: 0.550404 ms DeleteObjects: 0.489638 ms)



    Validating Project structure ... 0.015710 seconds.
    Refresh: detecting if any assets need to be imported or removed ... Refresh: elapses 0.032652 seconds

    ----- Total AssetImport time: 0.016605s, AssetImport time: 0.000000s, Asset hashing: 0.000000s [0 B, 0.000000 mb/s]

    Platform assembly: D:\Tools\Unity\Editor\Data\Managed\nunit.framework.dll (this message is harmless)
    System memory in use before: 92.8 MB.
    Unloading 37 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)
    System memory in use after: 87.9 MB.

    Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 747.
    Total: 10.032960 ms (FindLiveObjects: 0.039977 ms CreateObjectMapping: 0.011833 ms MarkObjects: 1.338111 ms DeleteObjects: 0.005436 ms)

    <RI> Initializing input.

    <RI> Input initialized.

    Native extension for build target not found
    GPUProgram: loaded 1:2aa7e929e7f9ad808a80327aeda57361 kwords 00000000000a0000 from cache in 42.41 ms
    GPUProgram: loaded 2:60e9a4598832addc7512eca3a6996a90 kwords 00000000000a0000 from cache in 0.37 ms
    GPUProgram: loaded 1:afa3806bb31769fd449138add7770ffb kwords 00000000000a0000 from cache in 22.56 ms
    GPUProgram: loaded 2:35821ba8c0ab779a58f5e470dee1eb39 kwords 00000000000a0000 from cache in 0.40 ms
    GPUProgram: loaded 1:1150dc263a34a486480226a7cae31743 kwords 00000000000a0000 from cache in 3.30 ms
    GPUProgram: loaded 2:64b5fc02dd2897d379a7bdba8c702b50 kwords 00000000000a0000 from cache in 0.35 ms
    GPUProgram: loaded 1:812b0e402bb1d7ff4b1a71efded14180 kwords 00000000000a5028 from cache in 0.55 ms
    GPUProgram: loaded 2:8aeede6ebe11e305ef8bd42deaa2d442 kwords 00000000000a5028 from cache in 0.42 ms
    GPUProgram: loaded 1:d00bf11a6ba456c8e5725628e84ee5a8 kwords 00000000000a5028 from cache in 0.39 ms
    GPUProgram: loaded 2:1f792ee7e6e716d01723d0a115317f8a kwords 00000000000a5028 from cache in 0.34 ms
    GPUProgram: loaded 1:3889b88dda8a320200a8677455b5a24e kwords 00000000000a5028 from cache in 0.38 ms
    GPUProgram: loaded 2:409ae0cf160e64761b5b7e0891a394c3 kwords 00000000000a5028 from cache in 0.38 ms
    GPUProgram: loaded 1:b0dbb1b01ca4f6ec81616c8c9b6b6997 kwords 00000000043a5028 from cache in 0.35 ms
    GPUProgram: loaded 2:3a7f679612d1e18d2b6182660e121e74 kwords 00000000043a5028 from cache in 0.32 ms
    GPUProgram: loaded 1:7a36f15f617b114cfa87c697dd146b51 kwords 00000000000a5028 from cache in 6.59 ms
    GPUProgram: loaded 2:a921ebd664a7c3d920b04c4a066021a1 kwords 00000000000a5028 from cache in 0.52 ms
    GPUProgram: loaded 1:ced06df1b1ca0f180f08aa94888fa6b6 kwords 00000000000a5028 from cache in 0.65 ms
    GPUProgram: loaded 2:9f141c19092912d8c8013bee2548a451 kwords 00000000000a5028 from cache in 0.65 ms
    GPUProgram: loaded 1:2aa7e929e7f9ad808a80327aeda57361 kwords 00000000000a5028 from cache in 0.29 ms
    GPUProgram: loaded 2:60e9a4598832addc7512eca3a6996a90 kwords 00000000000a5028 from cache in 0.25 ms
    GPUProgram: loaded 1:afa3806bb31769fd449138add7770ffb kwords 00000000000a5028 from cache in 0.27 ms
    GPUProgram: loaded 2:35821ba8c0ab779a58f5e470dee1eb39 kwords 00000000000a5028 from cache in 0.24 ms
    GPUProgram: loaded 1:1150dc263a34a486480226a7cae31743 kwords 00000000000a5028 from cache in 0.26 ms
    GPUProgram: loaded 2:64b5fc02dd2897d379a7bdba8c702b50 kwords 00000000000a5028 from cache in 0.26 ms
    Fallback handler could not load library D:/Tools/Unity/Editor/Data/Mono/lib/libc
    Fallback handler could not load library D:/Tools/Unity/Editor/Data/Mono/lib/.\libc
    Fallback handler could not load library D:/Tools/Unity/Editor/Data/Mono/lib/libc
    GPUProgram: loaded 1:f28f6918911cf0938fdae9bd382410aa kwords 0000000010aa5028 from cache in 0.48 ms
    GPUProgram: loaded 2:96837e08c7dc10dd7fe5a6ef6850ca2e kwords 0000000010aa5028 from cache in 0.35 ms
    GPUProgram: loaded 1:afa3806bb31769fd449138add7770ffb kwords 0000000010aa5028 from cache in 0.30 ms
    GPUProgram: loaded 2:35821ba8c0ab779a58f5e470dee1eb39 kwords 0000000010aa5028 from cache in 0.27 ms
    GPUProgram: loaded 1:6997e3d75f96c750aca0eb2092bb81ba kwords 0000000010aa5028 from cache in 0.40 ms
    GPUProgram: loaded 2:bf88787ca6219a61d746aebeeae46945 kwords 0000000010aa5028 from cache in 0.35 ms
    GPUProgram: loaded 1:636d12712c994e5657624286dc1bc43b kwords 0000000010aa5028 from cache in 0.53 ms
    GPUProgram: loaded 2:24a0281c67a858c90ea5e8e692f0b889 kwords 0000000010aa5028 from cache in 0.44 ms
    GPUProgram: loaded 1:d00bf11a6ba456c8e5725628e84ee5a8 kwords 0000000010aa5028 from cache in 0.45 ms
    GPUProgram: loaded 2:1f792ee7e6e716d01723d0a115317f8a kwords 0000000010aa5028 from cache in 0.30 ms
    GPUProgram: loaded 1:25bdc3fdeaaf0d049836cc030ef76311 kwords 0000000010aa5028 from cache in 0.43 ms
    GPUProgram: loaded 2:269128b8d97b3503572e1a6e3762dc57 kwords 0000000010aa5028 from cache in 0.40 ms
    GPUProgram: loaded 1:b0dbb1b01ca4f6ec81616c8c9b6b6997 kwords 0000000014ba5028 from cache in 0.35 ms
    GPUProgram: loaded 2:3a7f679612d1e18d2b6182660e121e74 kwords 0000000014ba5028 from cache in 0.29 ms
    GPUProgram: loaded 1:69a5a6c57baff6fde2a5d5e2a82fd322 kwords 0000000010aa5028 from cache in 0.52 ms
    GPUProgram: loaded 2:a8fc48a77b9fd0d89443bd589abccb9f kwords 0000000010aa5028 from cache in 0.45 ms
    GPUProgram: loaded 1:03c2ae4c0ee527078d2fee96cd58296c kwords 0000000010aa5028 from cache in 0.66 ms
    GPUProgram: loaded 2:5e30829769c172d0b16a1e7fb1be0c7e kwords 0000000010aa5028 from cache in 0.63 ms
    System memory in use before: 181.0 MB.
    Unloading 25 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)
    System memory in use after: 176.9 MB.

    Unloading 3 unused Assets to reduce memory usage. Loaded Objects now: 2135.
    Total: 10.391794 ms (FindLiveObjects: 0.163745 ms CreateObjectMapping: 0.016310 ms MarkObjects: 3.112453 ms DeleteObjects: 0.028783 ms)

    Task failed: Downloader Task

    EditorUpdateCheck: Response {updateinterval: '3600'} updateurl = interval = 3600
    Refresh: detecting if any assets need to be imported or removed ... Refresh: elapses 0.030664 seconds

    ----- Total AssetImport time: 0.013369s, AssetImport time: 0.000000s, Asset hashing: 0.000000s [0 B, 0.000000 mb/s]

    Refresh: detecting if any assets need to be imported or removed ... Refresh: elapses 0.031354 seconds

    ----- Total AssetImport time: 0.013588s, AssetImport time: 0.000000s, Asset hashing: 0.000000s [0 B, 0.000000 mb/s]
     

    Attached Files:

  4. SpiriTx

    SpiriTx

    Graphics QA Unity Technologies

    Joined:
    Apr 12, 2012
    Posts:
    252
    That's definitely something very unusual.

    The only problem visible in logs is "Fallback handler could not load library D:/Tools/Unity/Editor/Data/Mono/lib/libc", but that couldn't cause this.

    Could you please file a bug report with the project attached? We'll try to repro this on similar hardware.
     
  5. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    Tried several times... bug submit fails (*sigh*)... If interested, I could give SVN access via PM... or hand you a download link for the 600mb zip file :)
     
  6. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    Tried several times... bug submit fails (*sigh*)... If interested, I could give SVN access via PM... or hand you a download link for the 600mb zip file :)
     
  7. SpiriTx

    SpiriTx

    Graphics QA Unity Technologies

    Joined:
    Apr 12, 2012
    Posts:
    252
    Please add download info in the bug report. Either SVN access or any hosting service (like dropbox) will do.
     
  8. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    Bug reported... 616248
     
  9. SpiriTx

    SpiriTx

    Graphics QA Unity Technologies

    Joined:
    Apr 12, 2012
    Posts:
    252
    Thanks, I prioritised it to be looked at.
     
  10. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    Hi,

    can you tell me what the current state is? The recent (intermediate) fixes do not include this bug...
     
  11. SpiriTx

    SpiriTx

    Graphics QA Unity Technologies

    Joined:
    Apr 12, 2012
    Posts:
    252
    Hi,

    It's assigned to developers, as usual you'll be informed when it's fixed and verified.

    I've also noticed in the fogbugz case, that there is workaround specified - "Switching between this scene and the mopedDemo scene turns views back to normal, but the problem persists after restarting unity" - have you tried that?
     
  12. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    I'm the originator of the bug report... I specified the workaround and told Unity how to replicate the bug... so yes... I tried that...