When exiting PIE, the editor will be stuck for a long time. It is a problem with requesting data. We can only add a timeout, but we don’t know if it is correct. Do you think we should add this judgment?
Adding a timeout is ok, but it's probably better to figure out why the server is taking so long to respond to some requests in your case. That's most likely the root of the issue here.
When exiting PIE, the editor will be stuck for a long time. It is a problem with requesting data. We can only add a timeout, but we don’t know if it is correct. Do you think we should add this judgment?
https://www.bilibili.com/video/BV1e7WBeEERR
UnrealAssetAccessor.cpp
return asyncSystem.createFuture<std::shared_ptr>(
[&url, &headers, &userAgent, &cesiumRequestHeaders](const auto& promise) {
FHttpModule& httpModule = FHttpModule::Get();
TSharedRef<IHttpRequest, ESPMode::ThreadSafe> pRequest =
httpModule.CreateRequest();
pRequest->SetURL(UTF8_TO_TCHAR(url.c_str()));