From 6640ab406b4a3d59a1a4c3059d243f438d4f453b Mon Sep 17 00:00:00 2001 From: nikitalita <69168929+nikitalita@users.noreply.github.com> Date: Thu, 29 Jul 2021 22:25:18 -0700 Subject: [PATCH] skip uid field length in binary resource if not used --- core/io/resource_format_binary.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/io/resource_format_binary.cpp b/core/io/resource_format_binary.cpp index 619e4a2170b4..00d4d093dadc 100644 --- a/core/io/resource_format_binary.cpp +++ b/core/io/resource_format_binary.cpp @@ -903,6 +903,7 @@ void ResourceLoaderBinary::open(FileAccess *p_f, bool p_no_resources, bool p_kee if (using_uids) { uid = f->get_64(); } else { + f->get_64(); // skip over uid field uid = ResourceUID::INVALID_ID; }