Crash after update to 4.11 at map open

Everything was working fine before the update. But changing to 4.11 breaks the game.
I am able to open the engine but as soon as I open our level the engine crashes!

MachineId:

Access violation - code c0000005 (first/second chance not available)

UE4Editor_Engine!FLocalVertexFactoryShaderParameters::SetMesh() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\localvertexfactory.cpp:29]
UE4Editor_Engine!FInstancedStaticMeshVertexFactoryShaderParameters::SetMesh() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\engine\private\instancedstaticmesh.cpp:1859]
UE4Editor_Renderer!FMeshMaterialShader::SetMesh() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\renderer\private\shaderbaseclasses.cpp:467]
UE4Editor_Renderer!TBasePassVertexShaderPolicyParamType::SetMesh() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\renderer\private\basepassrendering.inl:16]
UE4Editor_Renderer!TBasePassDrawingPolicy::SetMeshRenderState() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\renderer\private\basepassrendering.h:909]
UE4Editor_Renderer!FDrawBasePassDynamicMeshAction::Process() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\renderer\private\basepassrendering.cpp:421]
UE4Editor_Renderer!ProcessBasePassMesh() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\renderer\private\basepassrendering.h:1242]
UE4Editor_Renderer!FBasePassOpaqueDrawingPolicyFactory::DrawDynamicMesh() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\renderer\private\basepassrendering.cpp:472]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::RenderBasePassDynamicData() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\renderer\private\deferredshadingrenderer.cpp:426]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::RenderBasePass() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\renderer\private\deferredshadingrenderer.cpp:1875]
UE4Editor_Renderer!FDeferredShadingSceneRenderer::Render() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\renderer\private\deferredshadingrenderer.cpp:1060]
UE4Editor_Renderer!RenderViewFamily_RenderThread() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\renderer\private\scenerendering.cpp:1744]
UE4Editor_Renderer!TGraphTask<FRendererModule::BeginRenderingViewFamily'::20’::EURCMacro_FDrawSceneCommand>::ExecuteTask() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\public\async\taskgraphinterfaces.h:886]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\private\async\taskgraph.cpp:779]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\private\async\taskgraph.cpp:526]
UE4Editor_RenderCore!RenderingThreadMain() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\rendercore\private\renderingthread.cpp:310]
UE4Editor_RenderCore!FRenderingThread::Run() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\rendercore\private\renderingthread.cpp:417]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:74]

Hello,

  • Could you please provide the logs from your project’s Saved-Logs folder after the crash occurs?
  • Could you please ensure that you hit send on the crash report?
  • Have you tried deleting your saved and intermediate folders before opening the map?

Hi,

I’m 's/'s colleague and he already switched back to 4.10, so I checked the logs. I attached the latest log file after the crash.

Thanks for your help!

Thank you for providing the logs.

  • Have you ensured to cause the crash again and send the crash report?
  • Did you try deleting your Saved and Intermediate folders?
  • Do you have any repro steps we can follow to reproduce this in a clean project?
  • If not, since this is a crash seemingly related to your map, could you provide a zipped up version of the project through Dropbox? You can PM me a link to it on the forums: https://forums.unrealengine.com/member.php?160394-Sean-Flint

Hello,

I am marking this topic as resolved for tracking purposes, as we have not heard from you in a few days. If this issue persists, feel free to respond to this thread. For any new issues, please create a new Answerhub topic.

Have a great day

Hi,

we went back to working with 4.10 for the last weeks to meet some deadlines, but are back on the 4.11 upgrade now. Unfortunately I can’t send the whole project as it is a commercial game.

I did delete the Saved and Intermediate folders, but the issue still remains. I’m not sure how to reproduce it with a blank project either, do you have any ideas what I could try next?

Okay, just as I wrote this I had another idea and now I know what the problem seems to be. We had moved static meshes with painted foliage on it before and in 4.10 this foliage was just marked as invalid but didn’t crash.
I just deleted the foliage actor and now I can open the map, so I guess this was the problem…
But is there a way to fix the invalid foliage without deleting everything? We only noticed the invalid foliage a few weeks after we moved the stuff, so we didn’t fix it immediately and have a lot of invalid foliage now. It would be a lot of work to repaint everything…

EDIT: okay, the invalid foliage wasn’t the problem… I just deleted only the invalid stuff and it crashed again. But when I delete all foliage it works, so it has to do with the foliage…

Hello,

After some further investigation, this crash appears to be related to UE-29145, which has been fixed internally. The fix will be available in a later release. Thank you for your report.

Have a great day

There is currently no timeline for when the fix will be released.

Have a great day

Ah, cool, thank you. Do you know if it’s gonna be in a 4.11 update or only in 4.12?

Hi!

We have the same problem here and would like to avoid deleting foliage etc.

So is there maybe a specific changelist that we can grab to solve this issue?

Cheers,
Clemens

This was merged into our main branch as part of a larger dump of fixes, but you can grab that changelist here: https://github.com/EpicGames/UnrealEngine/commit/07eea7c4b87a22577cbd16c9e77ec84a4a3ebe8a

Have a great day