Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.3.X
Votes
1
Found in
2019.1
2019.2
2019.3
2019.3.0f6
2020.1
2020.2
Issue ID
1227781
Regression
Yes
Crash on CreateDirect3D11SurfaceFromDXGISurface when a material in Mesh Renderer is selected
Reproduction steps:
1. Open the attached project ("1227781.zip")
2. Open "SampleScene"
3. Select "CrashyMeshGO" in the Hierarchy
4. In the Inspector find the Mesh Renderer Component
5. Attempt to select a material for "Element 0" under "Materials"
Reproducible with: 2019.1.0a10, 2019.3.6f1, 2020.1.0b2, 2020.2.0a4
Not reproducible with: 2018.4.19f1, 2019.1.0a1
Couldn't test with: 2017.4.38f1(no SRP), versions in between 2019.1.0a1 and 2019.1.0a10 as I encountered way more trouble trying to test it with an SRP than I anticipated
Stacktrace:
0x00007FF8D124C067 (d3d11) CreateDirect3D11SurfaceFromDXGISurface
0x00007FF7B45F071B (Unity) GfxDeviceD3D11Base::BindBuffersForDraw
0x00007FF7B45F48A5 (Unity) GfxDeviceD3D11Base::DrawBuffers
0x00007FF7B74D8C88 (Unity) GfxDeviceWorker::RunCommand
0x00007FF7B74DC56C (Unity) GfxDeviceWorker::RunExt
0x00007FF7B74DC958 (Unity) GfxDeviceWorker::RunGfxDeviceWorker
0x00007FF7B5432C30 (Unity) Thread::RunThreadWrapper
0x00007FF8D6387974 (KERNEL32) BaseThreadInitThunk
0x00007FF8D842A261 (ntdll) RtlUserThreadStart
Notes:
- The issue seems to reproduce only with an SRP set (either URP or HDRP)
- The script that is attached to the GameObject generate mesh in OnDrawGizmos()
-
ftcalvin
Apr 28, 2021 08:54
Thank you so much for the great share.
-
zemayk
Mar 26, 2020 14:30
Movie4Me is an online website which contains all types of movies and shows. If anyone is worried about where to download their favorite movies and shows.
-
caywen2
Mar 23, 2020 20:56
Thank you for investigating!
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.5f1