diff --git a/README.md b/README.md index 02a142e8..cdfeaeea 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Key features: Check the [Wiki](https://hiazma.atlassian.net/wiki/display/VAR) for plugin usage examples and installation notes. -Current version: **1.1 R 23** (UE 4.20) +Current version: **1.1 R 24** (UE 4.20) ![SCREENSHOT](SCREENSHOT.jpg) diff --git a/Source/VaRestPlugin/Private/VaRestRequestJSON.cpp b/Source/VaRestPlugin/Private/VaRestRequestJSON.cpp index e2eba7d5..03de9012 100644 --- a/Source/VaRestPlugin/Private/VaRestRequestJSON.cpp +++ b/Source/VaRestPlugin/Private/VaRestRequestJSON.cpp @@ -484,7 +484,7 @@ void UVaRestRequestJSON::OnProcessRequestComplete(FHttpRequestPtr Request, FHttp ResponseSize = ResponseJsonObj->DeserializeFromUTF8Bytes((const ANSICHAR*) Bytes.GetData(), Bytes.Num()); // Decide whether the request was successful - bIsValidJsonResponse = bWasSuccessful && ResponseJsonObj->GetRootObject().IsValid(); + bIsValidJsonResponse = bWasSuccessful && (ResponseSize > 0); if (!bIsValidJsonResponse) { diff --git a/VaRestPlugin.uplugin b/VaRestPlugin.uplugin index e5e608cd..01a5e4d1 100644 --- a/VaRestPlugin.uplugin +++ b/VaRestPlugin.uplugin @@ -2,8 +2,8 @@ "FileVersion" : 3, "FriendlyName" : "VaRest", - "Version" : 23, - "VersionName" : "1.1-r23", + "Version" : 24, + "VersionName" : "1.1-r24", "CreatedBy" : "Vladimir Alyamkin", "CreatedByURL" : "http://alyamkin.com", "EngineVersion" : "4.20.0",