Just upgraded to 4.22 and when playing a packed Win64 build and then calling quit the game freezes for a while and then crashes with the following callstack:
Assertion failed: InRenderThread() || InRHIThread() [File:D:\Build\++UE4\Sync\Engine\Plugins\Runtime\Oculus\OculusVR\Source\OculusHMD\Private\OculusHMD_TextureSetProxy.cpp] [Line: 25]
FWindowsErrorOutputDevice::Serialize()
FOutputDevice::LogfImpl()
FDebug::AssertFailed()
FDebug::CheckVerifyFailedImpl()
OculusHMD::FTextureSetProxy::`vector deleting destructor'()
OculusHMD::FLayer::~FLayer()
SharedPointerInternals::TReferenceControllerWithDeleter<OculusHMD::FLayer,SharedPointerInternals::DefaultDeleter<OculusHMD::FLayer> >::DestroyObject()
TArray<TSharedPtr<OculusHMD::FLayer,1>,FDefaultAllocator>::~TArray<TSharedPtr<OculusHMD::FLayer,1>,FDefaultAllocator>()
OculusHMD::FSplash::~FSplash()
OculusHMD::FSplash::`vector deleting destructor'()
OculusHMD::FOculusHMD::Shutdown()
OculusHMD::FOculusHMD::~FOculusHMD()
OculusHMD::FOculusHMD::`vector deleting destructor'()
UEngine::ShutdownHMD()
UGameEngine::PreExit()
FEngineLoop::Exit()
GuardedMain()
GuardedMainWrapper()
WinMain()
__scrt_common_main_seh() [d:\agent\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll