Search Unity

d3d11: failed to create 2D texture

Discussion in 'Editor & General Support' started by adri1992, Mar 17, 2016.

  1. adri1992

    adri1992

    Joined:
    Dec 14, 2015
    Posts:
    34
    Hi!

    I've searched a solution but I haven't found anything.

    In my game, first, I take a screenshot for each team (maximum of three teams), and in the last scene I show these screenshots that I have taken previously, but sometimes, when I click in the button to get the last scene (the scene that shows the screenshots), the game crashes.

    The error log returns me this message:

    I have no idea... =(

    Thanks!
     
  2. adri1992

    adri1992

    Joined:
    Dec 14, 2015
    Posts:
    34
    Any idea? =(
     
  3. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    Whats your code look like? Sounds like you may be running out of memory.
     
  4. adri1992

    adri1992

    Joined:
    Dec 14, 2015
    Posts:
    34
    The way to store the screenshot:

    Code (csharp):
    1.  public IEnumeratortake ScreenshotToTeam(System.Actioncallback){
    2.             yieldreturnnewWaitForEndOfFrame();
    3.             Texture2Dtex=newTexture2D((Screen.width/2+425)-(Screen.width/2-425),Screen.height);
    4.             tex.ReadPixels(newRect(Screen.width/2-425,0,Screen.width/2+425,Screen.height),0,0);
    5.             tex.Apply();
    6.             SharedVariablesNonGame.pyramids[SharedVariablesNonGame.currentTeam-1]=tex;
    7.              callback();
    8. }
    The way to load the screenshot:

    Code (csharp):
    1.  for(int i=0;i<SharedVariablesNonGame.numTeams;i++){
    2. rec=newRect(0,0,SharedVariablesNonGame.pyramids.width,SharedVariablesNonGame.pyramids.height);
    3. sprite=Sprite.Create(SharedVariablesNonGame.pyramids,rec,newVector2(0,0));
    4. resultImagesThreeTeams.GetComponent<Image>().sprite=sprite;
    5. }

    The maximum of the screenshots to load are 3
     
  5. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    What does your full log file look like?
     
  6. adri1992

    adri1992

    Joined:
    Dec 14, 2015
    Posts:
    34
    The error log is like this:

    Code (CSharp):
    1.  
    2. ...
    3. ...
    4. ...
    5. d3d11: failed to create 2D texture id=1171 w=850 h=1050 mips=11 d3dfmt=28 [887a0005]
    6. d3d11: failed to create 2D texture view id=1171 [80070057]
    7. d3d11: failed to create 2D texture id=1173 w=850 h=1050 mips=11 d3dfmt=28 [887a0005]
    8. d3d11: failed to create 2D texture view id=1173 [80070057]
    9. d3d11: failed to create 2D texture id=1175 w=850 h=1050 mips=11 d3dfmt=28 [887a0005]
    10. d3d11: failed to create 2D texture view id=1175 [80070057]
    11. Unloading 5 Unused Serialized files (Serialized files now loaded: 0)
    12. d3d11: failed to create 2D texture id=1179 w=256 h=256 mips=9 d3dfmt=77 [887a0005]
    13. d3d11: failed to create 2D texture view id=1179 [80070057]
    14. d3d11: failed to create 2D texture id=1181 w=256 h=256 mips=9 d3dfmt=77 [887a0005]
    15. d3d11: failed to create 2D texture view id=1181 [80070057]
    16. d3d11: failed to create vertex buffer of size 3920 [0x887A0005]
    17. d3d11: failed to create vertex buffer of size 784 [0x887A0005]
    18. d3d11: failed to create index buffer of size 756 [0x887A0005]
    19. d3d11: failed to create vertex buffer of size 3920 [0x887A0005]
    20. d3d11: failed to create vertex buffer of size 784 [0x887A0005]
    21. d3d11: failed to create index buffer of size 744 [0x887A0005]
    22. D3D shader create error for vertex shader [0x887a0005]
    23. D3D shader create error for pixel shader [0x887a0005]
    24. WARNING: Shader Unsupported: 'UnlitAlpha' - Pass '' has no vertex shader
    25. WARNING: Shader Unsupported: 'UnlitAlpha' - Setting to default shader.
    26. d3d11: failed to create 2D texture id=1177 w=256 h=256 mips=1 d3dfmt=65 [887a0005]
    27. d3d11: failed to create 2D texture view id=1177 [80070057]
    28. Crash!!!
     
  7. madnesslabo

    madnesslabo

    Joined:
    Nov 8, 2012
    Posts:
    59
    I am getting the same error.
    It seems to be a model dependent bug occurring on some PCs.
    However, it does not happen with too old a PC.
    I can wake up on a number of PCs that I can not ignore.

    A user who purchased the game reports that "the screen turns black during play and it will not move".
    I investigate the cause, I am reporting to Unity Japan and a bug reporter.(Case 888114)
    However, the problem has not been solved yet. Bug reporters have only reply of fixed form sentences.
    I found a topic that seems to be the same cause here, so I will add it.


    · Texture loading fails when Call LoadFromImage in coroutine
    · It happens only on some older Windows PCs. It's happens 100% if it gets up
    · The error log is 'd3d11: failed to create 2D texture'
    · In "Auto Graphics API for Window" of PlayerSettings. It does not happen if you reverse the order of Direct3D11 and Direct3D9 and give priority to Direct3D9

    I think this is an important bug. LoadImage is used in coroutines and it is often used after waiting for loading files, so I think that it will be used with considerable probability.
    I think that it was not happening before, it seems that it is caused by the version of Unity.
    I have confirmed that this phenomenon occurs in Unity 5.5.2

    An error occurs in this code.
    Code (CSharp):
    1. public class ExampleScript2 : MonoBehaviour
    2. {
    3.     public TextAsset bytes;
    4.     public RawImage rawImage;
    5.  
    6.     public void Start()
    7.     {
    8.         StartCoroutine(LoadAsync());
    9.     }
    10.  
    11.     IEnumerator LoadAsync()
    12.     {
    13.         yield return new WaitForSeconds(1);
    14.  
    15.         Texture2D tex = new Texture2D(1, 1);
    16.         tex.LoadImage(bytes.bytes);
    17.         rawImage.texture = tex;
    18.     }
    19. }
    20.  
     
  8. LightStriker

    LightStriker

    Joined:
    Aug 3, 2013
    Posts:
    2,717
    I have this bug occuring on a GTX 970 in Unity 5.4.5

     
  9. NachoAbril

    NachoAbril

    Joined:
    Jun 30, 2014
    Posts:
    34
    We are having the same problem. In our build machine when we build the game, we got a lot of:

    d3d11: failed to create 2D texture id=3977 width=80 height=80 mips=8 dxgifmt=28 [D3D error was 80070057]
    d3d11: failed to create 2D texture shader resource view id=3977 [D3D error was 80070057]
    d3d11: Failed to create 2D texture in GfxDeviceD3D11
    d3d11: failed to create 2D texture id=3979 width=264 height=126 mips=10 dxgifmt=28 [D3D error was 80070057]
    d3d11: failed to create 2D texture shader resource view id=3979 [D3D error was 80070057]
    d3d11: Failed to create 2D texture in GfxDeviceD3D11
    d3d11: failed to create 2D texture id=3989 width=478 height=459 mips=10 dxgifmt=28 [D3D error was 80070057]
    d3d11: failed to create 2D texture shader resource view id=3989 [D3D error was 80070057]
    d3d11: Failed to create 2D texture in GfxDeviceD3D11
    ...

    and sometimes running the game in a NVIDIA GeForce GTX 960:

    d3d11: failed to create 2D texture id=244 width=740 height=537 mips=11 dxgifmt=28 [D3D error was 80070057]
    d3d11: failed to create 2D texture shader resource view id=244 [D3D error was 80070057]

    Any indication of the offender textures and why it's happening would be great.
     
  10. NachoAbril

    NachoAbril

    Joined:
    Jun 30, 2014
    Posts:
    34
    It seems that in build machine, the problem comes from sprite packer:

    Code (CSharp):
    1.  
    2. d3d11: failed to create 2D texture id=3977 width=80 height=80 mips=8 dxgifmt=28 [D3D error was 80070057]
    3.  
    4. UnityEditor.Sprites.PackerJob:AssignToAtlas(String, Sprite, SpritePackingMode, SpritePackingRotation)
    5. UnityEditor.Sprites.DefaultPackerPolicy:OnGroupAtlases(BuildTarget, PackerJob, Int32[]) (at C:\buildslave\unity\build\Editor\Mono\Sprites\DefaultSpritePackerPolicy.cs:109)
    6. UnityEditor.Sprites.Packer:ExecuteSelectedPolicy(BuildTarget, Int32[]) (at C:\buildslave\unity\build\Editor\Mono\Sprites\SpritePacker.cs:118)
    7. UnityEditor.BuildPipeline:BuildAssetBundlesInternal(String, BuildAssetBundleOptions, BuildTargetGroup, BuildTarget)
    8. UnityEditor.BuildPipeline:BuildAssetBundles(String, BuildAssetBundleOptions, BuildTargetGroup, BuildTarget) (at C:\buildslave\unity\build\artifacts\generated\common\editor\BuildPipelineBindings.gen.cs:490)
    9. UnityEditor.BuildPipeline:BuildAssetBundles(String, BuildAssetBundleOptions, BuildTarget) (at C:\buildslave\unity\build\artifacts\generated\common\editor\BuildPipelineBindings.gen.cs:481)
    10. Builder:BuildAllAssetBundles(BuildTarget) (at Assets\Editor\Builder.cs:1065)
    11. Builder:PerformBuild() (at Assets\Editor\Builder.cs:357)
    12.  
    13. [C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp line 496]
    14. (Filename: Assets/Editor/Builder.cs Line: 1065)
    15.  
    16. d3d11: failed to create 2D texture shader resource view id=3977 [D3D error was 80070057]
    17.  
    18. UnityEditor.Sprites.PackerJob:AssignToAtlas(String, Sprite, SpritePackingMode, SpritePackingRotation)
    19. UnityEditor.Sprites.DefaultPackerPolicy:OnGroupAtlases(BuildTarget, PackerJob, Int32[]) (at C:\buildslave\unity\build\Editor\Mono\Sprites\DefaultSpritePackerPolicy.cs:109)
    20. UnityEditor.Sprites.Packer:ExecuteSelectedPolicy(BuildTarget, Int32[]) (at C:\buildslave\unity\build\Editor\Mono\Sprites\SpritePacker.cs:118)
    21. UnityEditor.BuildPipeline:BuildAssetBundlesInternal(String, BuildAssetBundleOptions, BuildTargetGroup, BuildTarget)
    22. UnityEditor.BuildPipeline:BuildAssetBundles(String, BuildAssetBundleOptions, BuildTargetGroup, BuildTarget) (at C:\buildslave\unity\build\artifacts\generated\common\editor\BuildPipelineBindings.gen.cs:490)
    23. UnityEditor.BuildPipeline:BuildAssetBundles(String, BuildAssetBundleOptions, BuildTarget) (at C:\buildslave\unity\build\artifacts\generated\common\editor\BuildPipelineBindings.gen.cs:481)
    24. Builder:BuildAllAssetBundles(BuildTarget) (at Assets\Editor\Builder.cs:1065)
    25. Builder:PerformBuild() (at Assets\Editor\Builder.cs:357)
    26.  
    27. [C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp line 515]
    28. (Filename: Assets/Editor/Builder.cs Line: 1065)
    29.  
    30. d3d11: Failed to create 2D texture in GfxDeviceD3D11
    31. UnityEditor.Sprites.PackerJob:AssignToAtlas(String, Sprite, SpritePackingMode, SpritePackingRotation)
    32. UnityEditor.Sprites.DefaultPackerPolicy:OnGroupAtlases(BuildTarget, PackerJob, Int32[]) (at C:\buildslave\unity\build\Editor\Mono\Sprites\DefaultSpritePackerPolicy.cs:109)
    33. UnityEditor.Sprites.Packer:ExecuteSelectedPolicy(BuildTarget, Int32[]) (at C:\buildslave\unity\build\Editor\Mono\Sprites\SpritePacker.cs:118)
    34. UnityEditor.BuildPipeline:BuildAssetBundlesInternal(String, BuildAssetBundleOptions, BuildTargetGroup, BuildTarget)
    35. UnityEditor.BuildPipeline:BuildAssetBundles(String, BuildAssetBundleOptions, BuildTargetGroup, BuildTarget) (at C:\buildslave\unity\build\artifacts\generated\common\editor\BuildPipelineBindings.gen.cs:490)
    36. UnityEditor.BuildPipeline:BuildAssetBundles(String, BuildAssetBundleOptions, BuildTarget) (at C:\buildslave\unity\build\artifacts\generated\common\editor\BuildPipelineBindings.gen.cs:481)
    37. Builder:BuildAllAssetBundles(BuildTarget) (at Assets\Editor\Builder.cs:1065)
    38. Builder:PerformBuild() (at Assets\Editor\Builder.cs:357)
    39.  
    40. [C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp line 532]
    41. (Filename: Assets/Editor/Builder.cs Line: 1065)
    42.  
     
  11. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    Could you file a bug report please and include as much information about this as you can?
    Thanks
     
  12. Killersan

    Killersan

    Joined:
    May 27, 2014
    Posts:
    76
    Unity 5.6.1p1 same issue, after many errors like that game crashed.
    Code (CSharp):
    1. d3d11: failed to create staging 2D texture w=32 h=32 d3dfmt=2 [887a0005]
     
  13. cmc4543

    cmc4543

    Joined:
    Aug 17, 2014
    Posts:
    3
    has anyone found a solution to this? I'm running into the same problem with 5.5 and windows
     
  14. NlaakStudios

    NlaakStudios

    Joined:
    May 19, 2016
    Posts:
    12
    I am having the same issue with a nVidia GTX 980. I cannot even open the the Unity 5.6.2 editor with new empty project without a crash. So i made unity run on the integrated graphics (it sucks) but works. Now when i build it crashes with:

    ========== OUTPUTING STACK TRACE ==================

    0x629AC7BA (d3d11) CreateDirect3D11SurfaceFromDXGISurface
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00F84C19)
    0x00F84C19 (dascube)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 0106B6F8)
    0x0106B6F8 (dascube)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 010742F8)
    0x010742F8 (dascube)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00F643C4)
    0x00F643C4 (dascube)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00F65409)
    0x00F65409 (dascube)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00F657C8)
    0x00F657C8 (dascube)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00FCF86C)
    0x00FCF86C (dascube)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00FD374E)
    0x00FD374E (dascube)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 012C4716)
    0x012C4716 (dascube)
    0x755C62C4 (KERNEL32) BaseThreadInitThunk
    0x77860FD9 (ntdll) RtlSubscribeWnfStateChangeNotification
    0x77860FA4 (ntdll) RtlSubscribeWnfStateChangeNotification

    ========== END OF STACKTRACE ===========

    **** Crash! ****


    Of course i have latest DirectX and Graphics Driver.

    Any more info on this?

    * UPDATE *
    I tried the program on other computers in the house and compiling with unity 5.4.x, 5.5x.
    It crashes on all nVidia GTX Cards - My wifes computer as AMD with ATI card, works perfectly.
    My Desktop is Dual GTX 660's and Laptop is Predator with GTX 980. CRASH!

    I can play many other games on the nVidia GTX's so I do not think its the driver or system but rather a Unity Issue.
     

    Attached Files:

    Last edited: Jun 27, 2017
    floatingfactory likes this.
  15. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    We're running into this, not with Unity itself, but with our game.

    ...and so on, at great length. At this point the app becomes unresponsive as far as the user can tell (though we're still executing scripts, at least for a while, as I can tell by further Debug.Log output).

    This only occurs on one of our test machines, and it's a fairly old one... but if there's anything that can be done, even to detect this case and present a useful error message, please let me know!
     
  16. DDNA

    DDNA

    Joined:
    Oct 15, 2013
    Posts:
    116
    We had this issue to and figured out what it was.

    There were textures in the build that were set to compress and were not powers of 2. Notice that all the textures in your thread have this. You can correct this by either scaling the textures of turning off compression, and mip mapping. If they are not power of 2 having mip mapping on will cause this problem, and if they are not multiple of 4 Compression will cause this problem.

    The bigger problem for this is that Unity's behavior for this is horrible. We discovered this when we started doing clean builds because it was the one time when the warnings would show up. In addition these texture would just not show up in the game. Think about this scenario for a second.

    During development, everything is fine, no warnings.
    Do an incremental build or a build from the editor, no warnings, works fine.
    Spit a clean build out, the build gets these cryptic errors and doesn't work.

    It is like a nightmare scenario for putting builds together. On top of this the errors don't tell you which texture is the problem so it is very hard to find this.

    The weirdest part is that if I go to my build machine to a build that has already been generated then open the project in unity and close it, all the incremental builds will work at that point.

    I would like to be doing clean builds but I am terrified to now.
     
    Last edited: Aug 5, 2017
    ssojyeti2, Rewaken, Gaidzin and 5 others like this.
  17. DDNA

    DDNA

    Joined:
    Oct 15, 2013
    Posts:
    116
    I made a fairly simple repro case of this and filed it as

    (Case 939236) NPOT Textures cause Clean Builds to Fail without warning
     
    _Yash_ and JoeStrout like this.
  18. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    Thank you! That's useful information.
     
  19. _Yash_

    _Yash_

    Joined:
    Oct 17, 2014
    Posts:
    6
    When we launch unity editor it shows multiple errors of this kind

    d3d11: failed to create 2D texture id=60 width=960 height=540 mips=10 dxgifmt=28 [D3D error was 887a0005]

    The machine does not have a discrete video card. It is running on Intel HD graphics.

    We have tried running it with DirectX 9 as well but it shows the same error in a slightly different format.
    We have also tried running it on a different machine with ATI graphics card capable of DX11.

    If we turn of mipmaps in all the images than these errors do not show up.

    Can anyone point out the root cause of this issue?
     
  20. fcloss

    fcloss

    Joined:
    Dec 1, 2011
    Posts:
    192
    Hi everyone, nothing new? It happens with me on 5.6.3p4 for a user with Intel HD too. Anyone knows if it still happens with 2017.3?

    Thanks
     
  21. PedroCoriAG

    PedroCoriAG

    Joined:
    Nov 1, 2016
    Posts:
    7
    We're still getting this error in the live build in Unity 2017.1.0p4 on a lot of users with AMD Radeon cards using SteamVR. We've seen it with RX 470, RX 480, and RX 580 that we know of, even though they're on latest drivers. Will release an update soon fixing some NPOT textures and we'll see if that fixes the issue.
     
  22. syalanurag1991

    syalanurag1991

    Joined:
    Aug 29, 2017
    Posts:
    2
    There is a solution - Garbage Collection

    Context - Well I have been having the exact same problem. I am developing an application for HoloLens and I had this problem. I had the images available to me in the form of bytes and I had do some image processing on them. But before that, I need to compress the images (available as raw byte array) to JPG so that I could send them over the network to a server which will do the processing for me.

    For this, I had to load the bytes to a Texture2D using LoadRawTextureData method followed by the Apply() method. After that I used the EncodeToJPG method to compress the image. The method gave me the result in form of a byte array. After this I transferred the image over the network.

    Now this were the problem came, since all of this was happening in a co-routine. The app kept crashing after every 1483 frames which was a very peculiar number. So this time I started the debugger on Visual Studio and found out this error:

    d3d11: failed to create 2D texture ... width=896 height=504 ... [D3D error was 887a0005]

    Now this is has nothing to with NPOT and POT types textures.

    Solution 1: Call Resource.UnloadUnsedAssets() followed by a GC.Collect() after you are done using the texture data in the co-routine/loop/function. I did this since the Texture I declared is a global variable.
    Solution 2: Or you can create Texture inside the function. Do all your process. At the end, call Destroy(textureName) to free up the space.

    I have tested both solutions, both work fine. I did not end up using Solution 2 because for my application 1 suited best as solution 2 was a little slower than 1.
     
    littledwarf likes this.
  23. petesplace

    petesplace

    Joined:
    Jun 23, 2016
    Posts:
    3
    @DDNA Thank you for pointing me in the right direction. Your solution worked out in my case.

    Had the same problem while doing automated builds using jenkins on a windows server. When building on my local windows machine everything was working fine. After building on the server only one UI-texture was not displayed all other textures where working fine.
    In player log (not the build logs) the aforementioned error message was displayed:

    d3d11: failed to create 2D texture id=87 width=50 height=50 mips=7 dxgifmt=28 [D3D error was 80070057]
    After checking the faulty texture I noticed it was the only texture not being POT. After resizing the texture to POT and disabling mips, the texture appeared again.
     
  24. guodancoder

    guodancoder

    Joined:
    Dec 14, 2017
    Posts:
    4
    I also have this issue when I deploy my app to Hololens. I modify my texture's max size from 2048 to 1024,and solve it. May be my resource is too big for Hololens.
     
  25. marcell123455

    marcell123455

    Joined:
    Jun 18, 2014
    Posts:
    275
    I also have this bug in unity 2018 1.1 f1, no idea why. sometimes the main camera turns black, sometimes the "camera" of my cars realtime- reflectionprobe turns black and gives me this out:

    d3d11: failed to create 2D texture shader resource view id=33698 [D3D error was 887c0003]


    Mono path[0] = 'Z:/Users/Marcell/Desktop/RacingGame/RacingGame_Data/Managed'
    Mono config path = 'Z:/Users/Marcell/Desktop/RacingGame/Mono/etc'
    PlayerConnection initialized from Z:/Users/Marcell/Desktop/RacingGame/RacingGame_Data (debug = 0)
    PlayerConnection initialized network socket : 0.0.0.0 55061
    Multi-casting "[IP] 192.168.0.2 [Port] 55061 [Flags] 3 [Guid] 3125629614 [EditorId] 1676139634 [Version] 1048832 [Id] WindowsPlayer(DESKTOP-5VKUR6U) [Debug] 0" to [225.0.0.222:54997]...
    Waiting for connection from host on [0.0.0.0:55061]...
    Timed out. Continuing without host connection.
    Started listening to [0.0.0.0:55061]
    PlayerConnection already initialized - listening to [0.0.0.0:55061]
    Initialize engine version: 2018.1.1f1 (b8cbb5de9840)
    GfxDevice: creating device client; threaded=1
    Direct3D:
    Version: Direct3D 11.0 [level 11.1]
    Renderer: NVIDIA GeForce GTX 980 Ti (ID=0x17c8)
    Vendor: (null)
    VRAM: 3072 MB
    Driver: 24.21.14.1170
    FMOD failed to set the software format to the custom sample rate 1, trying software fallback rate 48000
    (Filename: C:\buildslave\unity\build\Modules/Audio/Public/AudioManager.cpp Line: 1333)

    Begin MonoManager ReloadAssembly
    - Completed reload, in 0.054 seconds
    <RI> Initializing input.

    <RI> Input initialized.

    <RI> Initialized touch support.

    UnloadTime: 0.459113 ms
    NullReferenceException: Object reference not set to an instance of an object
    at PlayerCarLightController.Start () [0x00016] in Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Scripts\PlayerCarLightController.cs:16
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Scripts/PlayerCarLightController.cs Line: 16)

    NullReferenceException: Object reference not set to an instance of an object
    at ApplyPerformanceUpgrades.Start () [0x00022] in Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Recources\GameplayElements\TUNING_SYSTEM\Reference_Scripts\ApplyPerformanceUpgrades.cs:23
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Recources/GameplayElements/TUNING_SYSTEM/Reference_Scripts/ApplyPerformanceUpgrades.cs Line: 23)

    NullReferenceException: Object reference not set to an instance of an object
    at ChangeGroundClearence.Start () [0x0000c] in Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Recources\GameplayElements\TUNING_SYSTEM\ChangeGroundClearence.cs:24
    at SavegameManager.Start () [0x00044] in Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Scripts\SavegameManager.cs:24
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Recources/GameplayElements/TUNING_SYSTEM/ChangeGroundClearence.cs Line: 24)

    NullReferenceException: Object reference not set to an instance of an object
    at ChangeGroundClearence.Start () [0x0000c] in Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Recources\GameplayElements\TUNING_SYSTEM\ChangeGroundClearence.cs:24
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Recources/GameplayElements/TUNING_SYSTEM/ChangeGroundClearence.cs Line: 24)

    NullReferenceException: Object reference not set to an instance of an object
    at CarNamesAndLogos.FixedUpdate () [0x00001] in Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Scripts\CarNamesAndLogos.cs:25
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Scripts/CarNamesAndLogos.cs Line: 25)

    UnityCar: Tires "supersport_front" loaded on front axle (Car)
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    CarDynamics:SetTiresType() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\CarDynamics.cs:327)
    CarDynamics:Start() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\CarDynamics.cs:180)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/CarDynamics.cs Line: 327)

    UnityCar: Tires "supersport_rear" loaded on rear axle (Car)
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    CarDynamics:SetTiresType() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\CarDynamics.cs:333)
    CarDynamics:Start() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\CarDynamics.cs:180)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/CarDynamics.cs Line: 333)

    NullReferenceException: Object reference not set to an instance of an object
    at ForceController.Start () [0x0000c] in Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Scripts\ForceController.cs:79
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Scripts/ForceController.cs Line: 79)

    UnityCar: Tires "supersport_front" loaded on front axle (Car)
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    CarDynamics:SetTiresType() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\CarDynamics.cs:327)
    ForceController:FixedUpdate() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Scripts\ForceController.cs:138)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/CarDynamics.cs Line: 327)

    UnityCar: Tires "supersport_rear" loaded on rear axle (Car)
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    CarDynamics:SetTiresType() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\CarDynamics.cs:333)
    ForceController:FixedUpdate() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Scripts\ForceController.cs:138)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/CarDynamics.cs Line: 333)

    NullReferenceException: Object reference not set to an instance of an object
    at Nitro.Start () [0x0000c] in Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Scripts\Nitro.cs:39
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Scripts/Nitro.cs Line: 39)

    NullReferenceException: Object reference not set to an instance of an object
    at DigitalRuby.RainMaker.TireWaterParticle.Start () [0x0000c] in Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Scripts\TireWaterParticle.cs:19
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Scripts/TireWaterParticle.cs Line: 19)

    somethingEntered
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnityEngine.MonoBehaviour:print(Object)
    Wheel:OnTriggerEnter(Collider) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\Wheel.cs:1093)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/Wheel.cs Line: 1093)

    somethingEntered
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnityEngine.MonoBehaviour:print(Object)
    Wheel:OnTriggerEnter(Collider) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\Wheel.cs:1093)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/Wheel.cs Line: 1093)

    somethingEntered
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnityEngine.MonoBehaviour:print(Object)
    Wheel:OnTriggerEnter(Collider) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\Wheel.cs:1093)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/Wheel.cs Line: 1093)

    somethingEntered
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnityEngine.MonoBehaviour:print(Object)
    Wheel:OnTriggerEnter(Collider) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\Wheel.cs:1093)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/Wheel.cs Line: 1093)

    NullReferenceException: Object reference not set to an instance of an object
    at CarNamesAndLogos.FixedUpdate () [0x00001] in Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Scripts\CarNamesAndLogos.cs:25
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Scripts/CarNamesAndLogos.cs Line: 25)

    UnityCar: Tires "supersport_front" loaded on front axle (Car)
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    CarDynamics:SetTiresType() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\CarDynamics.cs:327)
    ApplyPerformanceUpgrades:Apply_Stock_Tire_Settings() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Recources\GameplayElements\TUNING_SYSTEM\Reference_Scripts\ApplyPerformanceUpgrades.cs:177)
    <ApplyPerfUpgrades>c__Iterator0:MoveNext() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Recources\GameplayElements\TUNING_SYSTEM\CarConfigIDs.cs:330)
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/CarDynamics.cs Line: 327)

    UnityCar: Tires "supersport_rear" loaded on rear axle (Car)
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    CarDynamics:SetTiresType() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\CarDynamics.cs:333)
    ApplyPerformanceUpgrades:Apply_Stock_Tire_Settings() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Recources\GameplayElements\TUNING_SYSTEM\Reference_Scripts\ApplyPerformanceUpgrades.cs:177)
    <ApplyPerfUpgrades>c__Iterator0:MoveNext() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Recources\GameplayElements\TUNING_SYSTEM\CarConfigIDs.cs:330)
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/CarDynamics.cs Line: 333)

    CHECKED LAST CAR
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnityEngine.MonoBehaviour:print(Object)
    <UpdateStart>c__Iterator0:MoveNext() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Scripts\SpawnCar.cs:332)
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Scripts/SpawnCar.cs Line: 332)

    Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
    UnloadTime: 20.181085 ms
    System memory in use before: 461.3 MB.
    System memory in use after: 114.8 MB.

    Unloading 4038 unused Assets to reduce memory usage. Loaded Objects now: 18792.
    Total: 31.794088 ms (FindLiveObjects: 1.162220 ms CreateObjectMapping: 0.743984 ms MarkObjects: 0.428710 ms DeleteObjects: 29.458917 ms)

    Unloading 5 Unused Serialized files (Serialized files now loaded: 0)
    UnloadTime: 0.540359 ms
    System memory in use before: 111.4 MB.
    System memory in use after: 112.4 MB.

    Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 18792.
    Total: 1.409022 ms (FindLiveObjects: 0.853589 ms CreateObjectMapping: 0.181908 ms MarkObjects: 0.355640 ms DeleteObjects: 0.017628 ms)

    somethingEntered
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnityEngine.MonoBehaviour:print(Object)
    Wheel:OnTriggerEnter(Collider) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\Wheel.cs:1093)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/Wheel.cs Line: 1093)

    somethingEntered
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnityEngine.MonoBehaviour:print(Object)
    Wheel:OnTriggerEnter(Collider) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\Wheel.cs:1093)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/Wheel.cs Line: 1093)

    somethingEntered
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnityEngine.MonoBehaviour:print(Object)
    Wheel:OnTriggerEnter(Collider) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\Wheel.cs:1093)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/Wheel.cs Line: 1093)

    somethingEntered
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnityEngine.MonoBehaviour:print(Object)
    Wheel:OnTriggerEnter(Collider) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\Wheel.cs:1093)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/Wheel.cs Line: 1093)

    Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
    UnloadTime: 0.176032 ms
    d3d11: failed to create 2D texture shader resource view id=33628 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33630 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33632 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33634 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33636 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    Chase
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnityEngine.MonoBehaviour:print(Object)
    CopAI_Actions:Chase() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Race_Rec\AI_Cars\CopSystem\Cops\CopAI_Actions.cs:61)
    CopAI_Actions:Start() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Race_Rec\AI_Cars\CopSystem\Cops\CopAI_Actions.cs:37)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Race_Rec/AI_Cars/CopSystem/Cops/CopAI_Actions.cs Line: 61)

    d3d11: failed to create 2D texture shader resource view id=33720 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33718 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33708 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33714 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33710 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33712 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33690 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33688 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33694 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33692 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33696 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33686 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33724 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33722 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33716 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33706 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33704 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33698 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33702 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    d3d11: failed to create 2D texture shader resource view id=33700 [D3D error was 887c0003]

    (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 386)

    System memory in use before: 1.01 GB.
    System memory in use after: 1.01 GB.

    Unloading 8 unused Assets to reduce memory usage. Loaded Objects now: 44781.
    Total: 6.766118 ms (FindLiveObjects: 1.776415 ms CreateObjectMapping: 0.951952 ms MarkObjects: 3.971322 ms DeleteObjects: 0.066171 ms)

    somethingEntered
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnityEngine.MonoBehaviour:print(Object)
    Wheel:OnTriggerEnter(Collider) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\Wheel.cs:1093)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/Wheel.cs Line: 1093)

    somethingEntered
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnityEngine.MonoBehaviour:print(Object)
    Wheel:OnTriggerEnter(Collider) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\Wheel.cs:1093)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/Wheel.cs Line: 1093)

    somethingEntered
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnityEngine.MonoBehaviour:print(Object)
    Wheel:OnTriggerEnter(Collider) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\Wheel.cs:1093)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/Wheel.cs Line: 1093)

    somethingEntered
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnityEngine.MonoBehaviour:print(Object)
    Wheel:OnTriggerEnter(Collider) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\Wheel.cs:1093)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/Wheel.cs Line: 1093)

    somethingEntered
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnityEngine.MonoBehaviour:print(Object)
    Wheel:OnTriggerEnter(Collider) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\Wheel.cs:1093)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/Wheel.cs Line: 1093)

    somethingEntered
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnityEngine.MonoBehaviour:print(Object)
    Wheel:OnTriggerEnter(Collider) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\Wheel.cs:1093)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/Wheel.cs Line: 1093)

    somethingEntered
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnityEngine.MonoBehaviour:print(Object)
    Wheel:OnTriggerEnter(Collider) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\Wheel.cs:1093)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/Wheel.cs Line: 1093)

    somethingEntered
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    UnityEngine.MonoBehaviour:print(Object)
    Wheel:OnTriggerEnter(Collider) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Standard Assets\UnityCarScripts\Wheel.cs:1093)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Standard Assets/UnityCarScripts/Wheel.cs Line: 1093)

    Vehicle node invalid, check all nodes on this road piece have correct links as this is probably the issue!: "2 - 2 Lanes - Straight - ( Road V2 )" -> Previous Node was: "Node1a"
    TIP: In "Editor Mode" try clicking on the road piece then clicking off it as this should remove any null links.
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:LogWarning(Object)
    TrafficSystemVehicle:SetNextNode(TrafficSystemNode) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Traffic System\Scripts\TrafficSystemVehicle.cs:1023)
    TrafficSystemVehicle:Update() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Traffic System\Scripts\TrafficSystemVehicle.cs:926)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Traffic System/Scripts/TrafficSystemVehicle.cs Line: 1023)

    Vehicle set to kill on empty path so we will destroy vehicle Traffic System Vechile - Full Test Car(Clone)
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    TrafficSystemVehicle:SetNextNode(TrafficSystemNode) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Traffic System\Scripts\TrafficSystemVehicle.cs:1026)
    TrafficSystemVehicle:Update() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Traffic System\Scripts\TrafficSystemVehicle.cs:926)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Traffic System/Scripts/TrafficSystemVehicle.cs Line: 1026)

    Vehicle Destroyed - No path node
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:LogWarning(Object)
    TrafficSystemVehicle:Update() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Traffic System\Scripts\TrafficSystemVehicle.cs:942)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Traffic System/Scripts/TrafficSystemVehicle.cs Line: 942)

    Vehicle node invalid, check all nodes on this road piece have correct links as this is probably the issue!: "2 Lanes - Straight" -> Previous Node was: "Node2a"
    TIP: In "Editor Mode" try clicking on the road piece then clicking off it as this should remove any null links.
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:LogWarning(Object)
    TrafficSystemVehicle:SetNextNode(TrafficSystemNode) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Traffic System\Scripts\TrafficSystemVehicle.cs:1023)
    TrafficSystemVehicle:Update() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Traffic System\Scripts\TrafficSystemVehicle.cs:926)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Traffic System/Scripts/TrafficSystemVehicle.cs Line: 1023)

    Vehicle set to kill on empty path so we will destroy vehicle Traffic System Vechile - Full Test Car(Clone)
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    TrafficSystemVehicle:SetNextNode(TrafficSystemNode) (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Traffic System\Scripts\TrafficSystemVehicle.cs:1026)
    TrafficSystemVehicle:Update() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Traffic System\Scripts\TrafficSystemVehicle.cs:926)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Traffic System/Scripts/TrafficSystemVehicle.cs Line: 1026)

    Vehicle Destroyed - No path node
    UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:LogWarning(Object)
    TrafficSystemVehicle:Update() (at Z:\Users\Marcell\Desktop\UnityCar 2.2 Pro_Unity_2018\Assets\Traffic System\Scripts\TrafficSystemVehicle.cs:942)
    (Filename: Z:/Users/Marcell/Desktop/UnityCar 2.2 Pro_Unity_2018/Assets/Traffic System/Scripts/TrafficSystemVehicle.cs Line: 942)


     
  26. Gua

    Gua

    Joined:
    Oct 29, 2012
    Posts:
    455
    I have this in 2018.3, when I make a build. By the way how can I find those textures by id?

     
    Last edited: Apr 14, 2019
  27. Gua

    Gua

    Joined:
    Oct 29, 2012
    Posts:
    455
    I've found source of the issue. I use Unity Visual Search plugin.

    Preview object created by this plugin caused those errors.

     
  28. Seeliefy

    Seeliefy

    Joined:
    Dec 2, 2012
    Posts:
    3
    I has this problem, i solve this opening the texture and converting this of (JPG) to (PNG), and my problem was solved!
     
  29. elok11

    elok11

    Joined:
    Dec 9, 2019
    Posts:
    18
    Hello, I'm having this issue. How can I find the "faulty" texture?

    Here is the log:

    "d3d11: failed to create 2D texture id=626 width=256 height=256 mips=1 dxgifmt=65 [D3D error was 887a0005]

    (Filename: Line: 584)

    d3d11: failed to create 2D texture shader resource view id=626 [D3D error was 80070057]"

    Is there any way to fin that specific texture, using that id=626 or something?

    Thank you.
     
  30. elok11

    elok11

    Joined:
    Dec 9, 2019
    Posts:
    18
    Hello,

    I solved this issue, I'll post the solution so it can help someone in the future.
    Some players where having this issue and after checking their specs, all of them where playing in a laptop without a dedicated graphic card. All of them had a crash when loading the game after the main menu.

    Creating a new low graphic option with half resolution textures solved the problem. Looks like loading the textures without enough grahpic memory gives this issue. I thought that it was a problem with a specific texture and that was driving me crazy to found the issue.
     
    thieum, Baggers_ and Meceka like this.
  31. canyon_gyh

    canyon_gyh

    Joined:
    Aug 15, 2018
    Posts:
    48
    Code (CSharp):
    1. d3d11: failed to create staging 2D texture w=2048 h=2048 d3dfmt=28 [8007000e]
    2. d3d11: failed to create 2D texture id=5361 width=2048 height=2048 mips=1 dxgifmt=29 [D3D error was 8007000e]
    3. (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 584)
    4.  
    5. d3d11: failed to create 2D texture shader resource view id=5361 [D3D error was 80070057]
    6. (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 534)
    7.  
    8. d3d11: Failed to create 2D texture in GfxDeviceD3D11
    9. (Filename: C:\buildslave\unity\build\Runtime/GfxDevice/d3d11/TexturesD3D11.cpp Line: 693)
    10.  
    11. Crash!!!
    12.  
    13. ========== OUTPUTTING STACK TRACE ==================
    14.  
    15.   ERROR: SymGetSymFromAddr64, GetLastError: 'Unknown error [-529697949]' (Address: 00007FF645E35B37)
    16. 0x00007FF645E35B37 (Unity) (function-name not available)
    17.   ERROR: SymGetSymFromAddr64, GetLastError: 'Unknown error [-529697949]' (Address: 00007FF645E2C34A)
    18. 0x00007FF645E2C34A (Unity) (function-name not available)
    19.   ERROR: SymGetSymFromAddr64, GetLastError: 'Unknown error [-529697949]' (Address: 00007FF645E1438A)
    20. 0x00007FF645E1438A (Unity) (function-name not available)
    21.   ERROR: SymGetSymFromAddr64, GetLastError: 'Unknown error [-529697949]' (Address: 00007FF645E14267)
    22. 0x00007FF645E14267 (Unity) (function-name not available)
    23.   ERROR: SymGetSymFromAddr64, GetLastError: 'Unknown error [-529697949]' (Address: 00007FF645E14267)
    24. 0x00007FF645E14267 (Unity) (function-name not available)
    25.   ERROR: SymGetSymFromAddr64, GetLastError: 'Unknown error [-529697949]' (Address: 00007FF645E1A8D4)
    26. 0x00007FF645E1A8D4 (Unity) (function-name not available)
    27.   ERROR: SymGetSymFromAddr64, GetLastError: 'Unknown error [-529697949]' (Address: 00007FF645E29678)
    28. 0x00007FF645E29678 (Unity) (function-name not available)
    29.   ERROR: SymGetSymFromAddr64, GetLastError: 'Unknown error [-529697949]' (Address: 00007FF6441BA794)
    30. 0x00007FF6441BA794 (Unity) (function-name not available)
    31.   ERROR: SymGetSymFromAddr64, GetLastError: 'Unknown error [-529697949]' (Address: 00007FF646A1A7C6)
    32. 0x00007FF646A1A7C6 (Unity) (function-name not available)
    33.   ERROR: SymGetSymFromAddr64, GetLastError: 'Unknown error [-529697949]' (Address: 00007FF645CC31E8)
    34. 0x00007FF645CC31E8 (Unity) (function-name not available)
    35.   ERROR: SymGetSymFromAddr64, GetLastError: 'Unknown error [-529697949]' (Address: 00007FF645CB207C)
    36. 0x00007FF645CB207C (Unity) (function-name not available)
    37.   ERROR: SymGetSymFromAddr64, GetLastError: 'Unknown error [-529697949]' (Address: 00007FF645CB7B83)
    38. 0x00007FF645CB7B83 (Unity) (function-name not available)
    39.   ERROR: SymGetSymFromAddr64, GetLastError: 'Unknown error [-529697949]' (Address: 00007FF645CC17AC)
    40. 0x00007FF645CC17AC (Unity) (function-name not available)
    41.   ERROR: SymGetSymFromAddr64, GetLastError: 'Unknown error [-529697949]' (Address: 00007FF645CC1B98)
    42. 0x00007FF645CC1B98 (Unity) (function-name not available)
    43.   ERROR: SymGetSymFromAddr64, GetLastError: 'Unknown error [-529697949]' (Address: 00007FF646B54143)
    44. 0x00007FF646B54143 (Unity) (function-name not available)
    45. 0x00007FFC41F47034 (KERNEL32) BaseThreadInitThunk
    46. 0x00007FFC42FA2651 (ntdll) RtlUserThreadStart
    47.  
    48. ========== END OF STACKTRACE ===========
    Hello,
    I get the crash when I Create All Material in NewScene Second,I think me solved this issue。

    like these:

    Code (CSharp):
    1. EditorSceneManager.NewScene(NewSceneSetup.DefaultGameObjects);
    2. System.Threading.Thread.Sleep(20);
    3. EditorUtility.UnloadUnusedAssetsImmediate(true);
    4. System.Threading.Thread.Sleep(20);
    Hope , can help you。
     
  32. CGDever

    CGDever

    Joined:
    Dec 17, 2014
    Posts:
    156
    I have this crash in Unity 2021.3.0f1 & 2021.3.1f1
    I don't have anything in my project apart from this asset
     
  33. RoyBarina

    RoyBarina

    Joined:
    Jul 3, 2017
    Posts:
    98
    Interesting.. I also get this error and I do have shaders that do mesh deformation (curved world)
    upload_2022-5-6_0-40-34.png
    This is right after loading a scene.


    I also getting these after navigating to a folder with some materials and the editor tries to create their previews
    upload_2022-5-6_0-45-11.png
     
  34. fherbst

    fherbst

    Joined:
    Jun 24, 2012
    Posts:
    802
    This is still happening for fresh project setups on 2021.3 LTS.
    @karl_jones is there an existing bug report by now or do you want me to make a fresh one?

    Unity_ZlsWCaFFmW.png
     
    RoyBarina likes this.
  35. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    13,355
    I think is not this texture size issue, but what filled up the ram prior.

    Make sure to assign a global texture, initialize only if empty and see that not making a new one each frame as a first debug step.

    This could be coming from another part of the project than your code also, so sometimes need disable things to see what cause the leak.
     
  36. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    I'm not aware of any existing bug reports. The only one I can see in this thread is 939236 which was closed as not reproducible. We will need a bug report, please.

    The “d3d11: failed to create 2D texture” errors usually indicate an issue with DirectX. The most common solutions for those cases are:

    - Update GPU drivers
    - Uninstall GeForce Experience
    - Disable any app used to monitor framerate
    - Uninstall or reinstall NVIDIA Audio drivers. Some users have also reported that turning off Image Sharpening helped with similar issues, which can be disabled through the NVIDIA Control Panel.
     
    HoshimiyaSio likes this.
  37. fherbst

    fherbst

    Joined:
    Jun 24, 2012
    Posts:
    802
    Here you go @karl_jones:
    IN-19286 - [AssetDatabase] Error when trying to load texture (Assertion failed on expression: 'GPUWidth == m_DataWidth')
     
    karl_jones likes this.