Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Enter the 2020.2 Beta Sweepstakes for a chance to win an Oculus Quest 2.
    Dismiss Notice

Bug (Case 1241288) Creating Texture3D asset causes editor crash

Discussion in '2020.1 Beta' started by Peter77, Apr 24, 2020.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    5,202
    This is my 3rd attempt to get this crash through QA, now posting in the forum, which hopefully boosts its chance to get reproduced this time.

    Creating a Texture3D asset causes the editor to crash. Please see the attached video, which shows that this works in 2019.3, but causes a crash in 2020.1.



    Reproduce

    Actual
    Unity editor crashes.

    Expected
    No crash. This used to work in Unity 2019.3.
     
    Quatum1000 likes this.
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    5,202
    Still hoping for a reply. Is anybody able to reproduce this crash or is it only me?
     
  3. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    2,229
    It's being looked into by QA. I''ve asked for a status update.
     
    Peter77 likes this.
  4. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    5,202
    Seems like we're not really getting further.

    I came across a twitter post from @Aras recently, where he shows off new Texture3D preview functionality. So I started to wonder if the crash is related to it.

    I found out that I'm actually able to create a Texture3D object, but as soon as I assign it to
    Selection.activeObject
    , which I believe would then use the new preview/inspector, the editor goes kaboom.



    Is this helping you any further to fix this issue?

    Code (CSharp):
    1. using System.Collections;
    2. using System.Collections.Generic;
    3. using UnityEngine;
    4. using UnityEditor;
    5.  
    6. class CreateTexture3DTool
    7. {
    8.     static Texture3D s_Texture3D;
    9.  
    10.     [MenuItem("Test/Create Texture3D in memory")]
    11.     static void DoMenuItem()
    12.     {
    13.         if (s_Texture3D != null)
    14.             Texture3D.DestroyImmediate(s_Texture3D);
    15.         s_Texture3D = null;
    16.  
    17.         Debug.Log("Before new Texture3D");
    18.         s_Texture3D = new Texture3D(16, 16, 3, TextureFormat.ARGB32, true);
    19.         Debug.Log("After new Texture3D");
    20.  
    21.         Debug.Log("Before Selection.activeObject = s_Texture3D");
    22.         Selection.activeObject = s_Texture3D; // this is causing a crash
    23.         Debug.Log("After Selection.activeObject = s_Texture3D");
    24.     }
    25. }
    26.  
     
    Last edited: May 19, 2020
  5. Aras

    Aras

    Unity Technologies

    Joined:
    Nov 7, 2005
    Posts:
    4,615
    From what I can tell: no one here in QA can reproduce your issue. They tried on various GPUs and various driver versions, with "debug allocator" settings etc., but so far no cookie (i.e. no crash). However, no one here had your exact GPU model, AFAIK. So maybe it's something that for some reason only crashes on your config, but we haven't been able to find what. :(((
     
  6. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    5,202
    I can offer to test a custom Editor build if that would help. For example if you add additional logs/asserts or whatever you prefer around code that might cause the problem?

    What makes me believe it's Not really a problem with my setup is that it works just fine in unity 2019.3.
     
  7. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    5,457
    Have you tried in the latest beta? I tried to follow your setup in b9, I don't get crash, not even warning.
    However I have a "Custom NUnit" package in my project by default, because some of the packages you and me have depend on it. I'm not sure though if it was the same in b6 which you have showcased here.

    BTW, I have a similar issue, which is only reproducible by me and it involves the beta and some packages. In some cases adding/updating the Collaborate package crashes my b8 and b9. Obviously I'm not sure if it has anything to do with your case, it's just a shoot in the dark.
     
  8. Aras

    Aras

    Unity Technologies

    Joined:
    Nov 7, 2005
    Posts:
    4,615
    Yeah well we must have changed something to make it crash on your setup, but so far we can't reproduce the crash on any of our setups... and the log files for some reason don't have an actionable stack trace either. Do you have some other windows machine to test locally on (just to get additional input on whether it crashes there or not)?
     
  9. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    5,202
    Hey thanks for the reply!
    I haven't tried the most recent beta, but I'm able to reproduce the crash in Unity 2020.2, so I doubt latest beta fixed it. Good idea with the packages, but today I figured out I'm also able to reproduce the crash without my Texture3D Import Pipeline package and just these two lines of code:
    var tex = new Texture3D(16, 16, 3, TextureFormat.ARGB32, true);
    Selection.activeObject = tex; // this is causing a crash


    Thanks for the reply too!

    Unfortunately I don't. I'm working from home office and only have this one rather outdated machine. Since it seems to work everywhere but on my PC, I guess it would also work if I try it on a different PC.
    • It works in 2019.3.
    • It does not in 2020.1 and 2020.2.
    • I've updated graphics drivers.
    • I've DirectX 12.
    • DxDiag does not find any problems.
    • Perhaps the Feature Levels: 11_0,10_1,10_0,9_3,9_2,9_1 are not sufficient anymore?

    The DxDiag report shows several "Not Supported" entries, maybe Unity requires something my hardware does not support now?
    Code (CSharp):
    1. ------------------
    2. System Information
    3. ------------------
    4.       Time of this report: 5/19/2020, 20:16:48
    5.              Machine name: removed
    6.                Machine Id: removed
    7.          Operating System: Windows 10 Home 64-bit (10.0, Build 18363) (18362.19h1_release.190318-1202)
    8.                  Language: English (Regional Setting: English)
    9.       System Manufacturer: System manufacturer
    10.              System Model: P5K/EPU
    11.                      BIOS: BIOS Date: 06/19/08 17:02:36 Ver: 08.00.12 (type: BIOS)
    12.                 Processor: Intel(R) Core(TM)2 Quad CPU    Q9400  @ 2.66GHz (4 CPUs), ~2.7GHz
    13.                    Memory: 8192MB RAM
    14.       Available OS Memory: 8192MB RAM
    15.                 Page File: 6708MB used, 5806MB available
    16.               Windows Dir: C:\WINDOWS
    17.           DirectX Version: DirectX 12
    18.       DX Setup Parameters: Not found
    19.          User DPI Setting: 96 DPI (100 percent)
    20.        System DPI Setting: 96 DPI (100 percent)
    21.           DWM DPI Scaling: Disabled
    22.                  Miracast: Available, no HDCP
    23. Microsoft Graphics Hybrid: Not Supported
    24. DirectX Database Version: Unknown
    25.            DxDiag Version: 10.00.18362.0387 64bit Unicode
    26.  
    27. ------------
    28. DxDiag Notes
    29. ------------
    30.       Display Tab 1: No problems found.
    31.         Sound Tab 1: No problems found.
    32.         Sound Tab 2: No problems found.
    33.           Input Tab: No problems found.
    34.  
    35. --------------------
    36. DirectX Debug Levels
    37. --------------------
    38. Direct3D:    0/4 (retail)
    39. DirectDraw:  0/4 (retail)
    40. DirectInput: 0/5 (retail)
    41. DirectMusic: 0/5 (retail)
    42. DirectPlay:  0/9 (retail)
    43. DirectSound: 0/5 (retail)
    44. DirectShow:  0/6 (retail)
    45.  
    46. ---------------
    47. Display Devices
    48. ---------------
    49.            Card name: NVIDIA GeForce GTX 650 Ti
    50.         Manufacturer: NVIDIA
    51.            Chip type: GeForce GTX 650 Ti
    52.             DAC type: Integrated RAMDAC
    53.          Device Type: Full Device (POST)
    54.           Device Key: Enum\PCI\VEN_10DE&DEV_11C6&SUBSYS_426319DA&REV_A1
    55.        Device Status: 0180200A [DN_DRIVER_LOADED|DN_STARTED|DN_DISABLEABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER]
    56. Device Problem Code: No Problem
    57. Driver Problem Code: Unknown
    58.       Display Memory: 6102 MB
    59.     Dedicated Memory: 2007 MB
    60.        Shared Memory: 4095 MB
    61.         Current Mode: 1920 x 1080 (32 bit) (60Hz)
    62.          HDR Support: Not Supported
    63.     Display Topology: Internal
    64. Display Color Space: DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
    65.      Color Primaries: Red(0.630859,0.350586), Green(0.333984,0.620117), Blue(0.156250,0.050781), White Point(0.313477,0.328125)
    66.    Display Luminance: Min Luminance = 0.500000, Max Luminance = 270.000000, MaxFullFrameLuminance = 270.000000
    67.         Monitor Name: Generic PnP Monitor
    68.        Monitor Model: S242HL
    69.           Monitor Id: ACR0216
    70.          Native Mode: 1920 x 1080(p) (60.000Hz)
    71.          Output Type: DVI
    72. Monitor Capabilities: HDR Not Supported
    73. Display Pixel Format: DISPLAYCONFIG_PIXELFORMAT_32BPP
    74.       Advanced Color: Not Supported
    75.          Driver Name: C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_9952681a7bb1dfac\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_9952681a7bb1dfac\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_9952681a7bb1dfac\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_9952681a7bb1dfac\nvldumdx.dll
    76. Driver File Version: 26.21.0014.4587 (English)
    77.       Driver Version: 26.21.14.4587
    78.          DDI Version: 12
    79.       Feature Levels: 11_0,10_1,10_0,9_3,9_2,9_1
    80.         Driver Model: WDDM 2.6
    81. Graphics Preemption: DMA
    82.   Compute Preemption: DMA
    83.             Miracast: Not Supported
    84.       Detachable GPU: No
    85. Hybrid Graphics GPU: Not Supported
    86.       Power P-states: Not Supported
    87.       Virtualization: Paravirtualization
    88.           Block List: No Blocks
    89.   Catalog Attributes: Universal:False Declarative:False
    90.    Driver Attributes: Final Retail
    91.     Driver Date/Size: 4/3/2020 2:00:00 AM, 964544 bytes
    92.          WHQL Logo'd: Yes
    93.     WHQL Date Stamp: Unknown
    94.   Device Identifier: {D7B71E3E-5286-11CF-816B-6D621BC2D735}
    95.           Vendor ID: 0x10DE
    96.           Device ID: 0x11C6
    97.           SubSys ID: 0x426319DA
    98.         Revision ID: 0x00A1
    99.  Driver Strong Name: oem9.inf:0f066de3500239da:Section004:26.21.14.4587:pci\ven_10de&dev_11c6
    100.      Rank Of Driver: 00D12001
    101.         Video Accel:
    102.         DXVA2 Modes: DXVA2_ModeMPEG2_VLD  DXVA2_ModeVC1_D2010  DXVA2_ModeVC1_VLD  DXVA2_ModeH264_VLD_Stereo_Progressive_NoFGT  DXVA2_ModeH264_VLD_Stereo_NoFGT  DXVA2_ModeH264_VLD_NoFGT  DXVA2_ModeHEVC_VLD_Main  DXVA2_ModeMPEG4pt2_VLD_Simple  DXVA2_ModeMPEG4pt2_VLD_AdvSimple_NoGMC
    103.   Deinterlace Caps: {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
    104.                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
    105.                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
    106.                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
    107.                     {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
    108.                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
    109.                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
    110.                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
    111.                     {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(YV12,0x32315659) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
    112.                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(YV12,0x32315659) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
    113.                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(YV12,0x32315659) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
    114.                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YV12,0x32315659) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
    115.                     {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
    116.                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
    117.                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
    118.                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
    119.                     {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(IMC1,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    120.                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(IMC1,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    121.                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC1,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    122.                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC1,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    123.                     {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(IMC2,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    124.                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(IMC2,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    125.                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC2,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    126.                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC2,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    127.                     {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(IMC3,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    128.                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(IMC3,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    129.                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC3,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    130.                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC3,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    131.                     {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(IMC4,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    132.                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(IMC4,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    133.                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC4,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    134.                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC4,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    135.                     {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(S340,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    136.                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(S340,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    137.                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(S340,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    138.                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(S340,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    139.                     {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(S342,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    140.                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(S342,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    141.                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(S342,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    142.                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(S342,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
    143.        D3D9 Overlay: Supported
    144.             DXVA-HD: Supported
    145.        DDraw Status: Enabled
    146.          D3D Status: Enabled
    147.          AGP Status: Enabled
    148.       MPO MaxPlanes: 1
    149.            MPO Caps: Not Supported
    150.         MPO Stretch: Not Supported
    151.     MPO Media Hints: Not Supported
    152.         MPO Formats: Not Supported
    153.    PanelFitter Caps: Not Supported
    154. PanelFitter Stretch: Not Supported
    155.  
    Have you looked at the crash.dmp file? I hoped it would help or at least gives some ideas where to put additional asserts/printfs.

    That's a good example where having Unity source code access would pay off, then I could just fix it myself or at least add a better error message and don't desperately need to cry for help. :)
     
  10. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    1,635
    Regardless of what we do in the future over Unity source, we should give it to you as thanks for all the great feedback! (and so you can give us the fixes instead of the bugs...) :D
     
    JoNax97, jmunozar, Aras and 2 others like this.
  11. Aras

    Aras

    Unity Technologies

    Joined:
    Nov 7, 2005
    Posts:
    4,615
    @Peter77 I sent you a build with additional logging around Texture3D creation via your bug report.
     
  12. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    5,202
    Thanks so much for the help! I've updated Case 1241288 with the crash.dmp and editor.log files, I used this code to reproduce the crash.

    Please note the crash does not seem to occur while creating the Texture3D:
    var tex = new Texture3D(16, 16, 3, TextureFormat.ARGB32, true); // works fine


    ... but after assigning it to the selection:
    Selection.activeObject = tex; // this is causing a crash


    ... and this also does not crash immediately at that line. The Debug.Log after that line still occurs. If I remove the selection assignment and only create the Texture3D object, it does not crash.
     
    Last edited: May 20, 2020
  13. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    5,202
    @Aras I'm pretty confident it's related to the Inspector. If I close the Inspector window and execute this code:
    Code (CSharp):
    1. var tex = new Texture3D(16, 16, 3, TextureFormat.ARGB32, true);
    2. Selection.activeObject = tex;
    ... no crash.

    If I then open an Inspector window, the crash occurs:


    The crash occurs, because Selection.activeObject still points to the created Texture3D object and the Inspector tries to display it or something related to it.
     
  14. Aras

    Aras

    Unity Technologies

    Joined:
    Nov 7, 2005
    Posts:
    4,615
    Ha! Yeah I just answered with the same theory to your bug report. Pretty sure now indeed, that the actual cause of crash is something related to preview. Now just need to figure out what, why and fix it. Thanks for the patience so far! I'll try to think of something. But that's tomorrow ;)
     
    Peter77 and richardkettlewell like this.
  15. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    5,457
    In the mean time I have tested this problem on an Intel UHD 620 and on a Geforce MX150 (Razor Blade laptop). Neither had crashed, unfortunately. (Attached my dxdiag if you want to compare)
     

    Attached Files:

    Peter77 likes this.
  16. Aras

    Aras

    Unity Technologies

    Joined:
    Nov 7, 2005
    Posts:
    4,615
    Alright! So far it seems that Texture3D is not directly related. The actual bug reason is that Graphics.DrawProceduralNow regressed and crashes on old Intel CPUs (pre-SSE4.2). The texture inspector in 2020.1 happens to use that and triggers the crash, but otherwise the bug is not related to textures, shaders or GPU at all. I'll fix! Thaks @Peter77 for patience tracking it down.
     
  17. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    5,202
    I'm super grateful that you looked into it and I know from first hand experience that fixing bugs can be awful to impossible if you can't reproduce it locally. So this wasn't a problem at all for me. I actually think you found the issue really fast.
     
    richardkettlewell likes this.
  18. Aras

    Aras

    Unity Technologies

    Joined:
    Nov 7, 2005
    Posts:
    4,615
    Alright, the fix should ship in 2020.2.0a13, 2020.1.0b11 and 2019.3.16 soon.
     
unityunity