From 0caaaf4018feddb1d3e6e75870df282715efd276 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Sun, 11 Jul 2021 12:14:08 +0800 Subject: [PATCH] Fix unicode invalid skip error in AssetLib --- core/io/http_client_tcp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/io/http_client_tcp.cpp b/core/io/http_client_tcp.cpp index f9b3165a07b..f291086808d 100644 --- a/core/io/http_client_tcp.cpp +++ b/core/io/http_client_tcp.cpp @@ -590,6 +590,7 @@ PackedByteArray HTTPClientTCP::read_response_body_chunk() { } } if (err != OK) { + ret.resize(_offset); break; } }