I can confirm the latest 2021LTS crashes constantly even after wiping the Library folder. It seems to be related with showing an inspector, but we are not using Odin.
As mentioned in another crash thread, @sandbaydev had a possible fix for some errors/eventual crashes by removing [Range()] attributes. See if trying this helps you or not: https://forum.unity.com/threads/calling-endwrite-before-beginwrite.1427973/#post-9047230
The crash stack trace is as follow:
0x00007FFEBC00587B (d3d11) CreateDirect3D11SurfaceFromDXGISurface
0x00007FF75C9F56B2 (Unity) BufferD3D11::EndWrite
0x00007FF75C9E8BF3 (Unity) GfxDeviceD3D11Base::EndBufferWrite
0x00007FF75C7AF3AF (Unity) GeometryJobTasks::PutGeometryJobTaskInternal
0x00007FF75C7AF351 (Unity) GeometryJobTasks::PutGeometryJobTask
0x00007FF75C7ADF91 (Unity) GeometryJobTasks::EndFrame
0x00007FF75E04A31F (Unity) GfxDeviceWorker::RunCommand
0x00007FF75E0548BB (Unity) GfxDeviceWorker::RunExt
0x00007FF75E0549D8 (Unity) GfxDeviceWorker::RunGfxDeviceWorker
0x00007FF75C6F97D7 (Unity) Thread::RunThreadWrapper
0x00007FFEC38426AD (KERNEL32) BaseThreadInitThunk
0x00007FFEC4CAA9F8 (ntdll) RtlUserThreadStart
========== END OF STACKTRACE ===========
A crash has been intercepted by the crash handler. For call stack and other details, see the latest crash report generated in:
* C:/Users/schwa/AppData/Local/Temp/Unity/Editor/Crashes
Dude same problem, happens like 3 times a day for me. Not looking forward to uploading my 5gb project.
Since it seems DirectX related, Iām going to switch to Vulkan for a bit to see if it stops.
Iām encountering the same problem, even the newest 2022.3.0f1 did not fixed the issue. Iām still working with 2022.2.5f1, which is stable for me. It happens randomly but will crash eventually after some minutes, e.g. on opening a prefab, just focus the window, selecting something. And also the error d3d11: EndWrite on null buffer
in the Editor.log. Iām not using any editor plugins like Odin, just raw Unity.
Itās crazy that a major bug like this can make it in an LTS Release so late in the release cycle.
Also the fact that unity wants a bug report with repro-steps even though itās a bug that basically everyone is encountering on Windows.
yeah, but I am afraid it isnāt easily reproducible. I wasnāt able to reproduce it on an empty or sample project.
Yep same thing here. Ever since upgrading my project to 2022, it crashes all the time - probably about 10 times a day. It will even crash when Iām not doing anything.
I wonder if Unity even has a QA team anymore or if they are just releasing untested software.
looks like Vulkan doesnāt seem to make a difference.
========== OUTPUTTING STACK TRACE ==================
0x00007FF7B93CE91A (Unity) GfxVersionList::Impl::GetVersion
0x00007FF7B973DB92 (Unity) vk::smile:ataBuffer::EndWrite
0x00007FF7B97553CA (Unity) GfxDeviceVKBase::EndBufferWrite
0x00007FF7B93CF396 (Unity) GeometryJobTasks::PutGeometryJobTaskInternal
0x00007FF7B93CF351 (Unity) GeometryJobTasks::PutGeometryJobTask
0x00007FF7B93CDF91 (Unity) GeometryJobTasks::EndFrame
0x00007FF7BAC6A31F (Unity) GfxDeviceWorker::RunCommand
0x00007FF7BAC748BB (Unity) GfxDeviceWorker::RunExt
0x00007FF7BAC749D8 (Unity) GfxDeviceWorker::RunGfxDeviceWorker
0x00007FF7B93197D7 (Unity) Thread::RunThreadWrapper
0x00007FFD878D26AD (KERNEL32) BaseThreadInitThunk
0x00007FFD8848A9F8 (ntdll) RtlUserThreadStart
========== END OF STACKTRACE ===========
I have the same crash. For me it started with 2021.3.25f I believe (Ā± one minor) so I bumped up to 2022.3.0f but that made no difference. Iām using Odin.
Edit: also getting absolutely spammed with error āEditorCoroutine handle is null.ā since upgrading to 2022
Same problem here. Unity 2022.3.0f1
========== OUTPUTTING STACK TRACE ==================
0x00007FFD1AE9587B (d3d11) CreateDirect3D11SurfaceFromDXGISurface
0x00007FF6602672F6 (Unity) BufferD3D11::EndWrite
0x00007FF66025A353 (Unity) GfxDeviceD3D11Base::EndBufferWrite
0x00007FF66001064F (Unity) GeometryJobTasks::PutGeometryJobTaskInternal
0x00007FF6600105E7 (Unity) GeometryJobTasks::PutGeometryJobTask
0x00007FF66000D161 (Unity) GeometryJobTasks::EndFrame
0x00007FF66190DE12 (Unity) GfxDeviceWorker::RunCommand
0x00007FF661919A9B (Unity) GfxDeviceWorker::RunExt
0x00007FF661919BB8 (Unity) GfxDeviceWorker::RunGfxDeviceWorker
0x00007FF65FF4D817 (Unity) Thread::RunThreadWrapper
0x00007FFD209C26AD (KERNEL32) BaseThreadInitThunk
0x00007FFD21DAA9F8 (ntdll) RtlUserThreadStart
========== END OF STACKTRACE ===========
Everyone login and go vote for this to be fixedā¦
Doing this fixed it for me. Havenāt crash yet all day. Although I would still like to see a fix for this in DX11, as per my post above.
Yes, using DX12 is currently my only workaround to be able to finish light baking. Unfortunately switching to DX12 completely brakes my game-mode.
my unity editor keeps crashing every dayā¦every hour! 2021.3.26f1 2022.3.0f1 2023.1.0b17
it has been like this for month, very crash report is the same.
========== OUTPUTTING STACK TRACE ==================
d3d11: EndWrite on null buffer
d3d11: EndWrite on null buffer
d3d11: EndWrite on null buffer
d3d11: EndWrite on null buffer
d3d11: EndWrite on null buffer
d3d11: EndWrite on null buffer
d3d11: EndWrite on null buffer
d3d11: EndWrite on null buffer
d3d11: EndWrite on null buffer
d3d11: EndWrite on null buffer
d3d11: EndWrite on null buffer
d3d11: EndWrite on null buffer
d3d11: EndWrite on null buffer
d3d11: EndWrite on null buffer
d3d11: EndWrite on null buffer
d3d11: EndWrite on null buffer
d3d11: EndWrite on null buffer
Crash!!!
0x00007FFB3E37488B (d3d11) CreateDirect3D11SurfaceFromDXGISurface
0x00007FF605674652 (Unity) BufferD3D11::EndWrite
0x00007FF605667B93 (Unity) GfxDeviceD3D11Base::EndBufferWrite
0x00007FF60542E97F (Unity) GeometryJobTasks::PutGeometryJobTaskInternal
0x00007FF60542E921 (Unity) GeometryJobTasks::PutGeometryJobTask
0x00007FF60542D561 (Unity) GeometryJobTasks::EndFrame
0x00007FF606CC92DF (Unity) GfxDeviceWorker::RunCommand
0x00007FF606CD386B (Unity) GfxDeviceWorker::RunExt
0x00007FF606CD3988 (Unity) GfxDeviceWorker::RunGfxDeviceWorker
0x00007FF605378DA7 (Unity) Thread::RunThreadWrapper
0x00007FFB4A8355A0 (KERNEL32) BaseThreadInitThunk
0x00007FFB4B42485B (ntdll) RtlUserThreadStart
========== END OF STACKTRACE ===========
Today Unity crashed 7 times for me. It crashes about once every half hour or an hour. Iām sure it would have crashed more times if I hadnāt done other things in between apart from developing.
I updated to 2022.3 LTS from 2022.2 thinking it would be fixed, but no.
I noticed it crashes predominantly when working with the hierarchy, but donāt take my word on that.
Itās maddening. Such a big problem has been around for quite some time, and in an LTS. Iām thinking of stopping making this crap game for a couple of months until they deign to fix the crashes.
I like the optimism.
Just letting you all know that we are working on thisā¦ sorry for the trouble itās causing.
No, Iām not using Odin.
Is anyone here experiencing this crash on the newly released 2022.3.1f1 ?
Based on testing, there is some feeling internally that a bugfix in that version also fixed this issueā¦ but itās early to say for sure, so if anyone has any info on that, it would be super helpful.