Unreal Engine 5.11 Crashes after upgrade from 5.0 due to BufferLayourError

We recently upgraded our project to 5.1.1 and are constantly getting the below errors. Anyhelp will be highly appreciated

LoginId:e19afaea4033f94bf4232c893cb0d6ef
EpicAccountId:63a0b39ca0fa432aa0b336eadd6a0611

Assertion failed: BufferLayout.GetHash() == Shader->ShaderResourceTable.ResourceTableLayoutHashes[BufferIndex] [File:D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Commands.cpp] [Line: 1697] Uniform buffer bound to slot 3 is not what the shader expected: Bound: Uniform Buffer[FInstanceCullingGlobalUniforms] with Hash[3146265] Expected: Uniform Buffer[LidarVF] with Hash[1048838]

UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_RHI
UnrealEditor_Renderer
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll