From 8fef545d6acb79aed1b6f18854c24d469b368707 Mon Sep 17 00:00:00 2001 From: Ivan Murzak Date: Thu, 28 May 2026 14:51:51 -0700 Subject: [PATCH 1/2] fix: avoid NullReferenceException in RemoveLoading when entry already removed (#39) When ConcurrentDictionary.TryRemove returns false the out 'future' is null, so logging future.Id in the warning branch threw a NullReferenceException. Log using the in-scope url instead. Co-Authored-By: Claude Opus 4.8 (1M context) --- Unity-Package/Assets/root/Runtime/Future/Future.Loading.List.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Unity-Package/Assets/root/Runtime/Future/Future.Loading.List.cs b/Unity-Package/Assets/root/Runtime/Future/Future.Loading.List.cs index 897a164..9d8e01c 100644 --- a/Unity-Package/Assets/root/Runtime/Future/Future.Loading.List.cs +++ b/Unity-Package/Assets/root/Runtime/Future/Future.Loading.List.cs @@ -38,7 +38,7 @@ private static void RemoveLoading(string url) else { if (ImageLoader.settings.debugLevel.IsActive(DebugLevel.Warning)) - Debug.LogWarning($"[ImageLoader] Future[id={future.Id}] Wasn't able to remove loading registration, not found in loading tasks\n{url}"); + Debug.LogWarning($"[ImageLoader] Wasn't able to remove loading registration, not found in loading tasks\n{url}"); } } } From 7b3c99c10813083db5167e04be2da16b46fdda55 Mon Sep 17 00:00:00 2001 From: Ivan Murzak Date: Thu, 28 May 2026 14:52:46 -0700 Subject: [PATCH 2/2] chore(release): bump to 7.0.3 Co-Authored-By: Claude Opus 4.8 (1M context) --- .../Assets/com.IvanMurzak/Image Loader Installer/Installer.cs | 2 +- Unity-Package/Assets/root/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Installer/Assets/com.IvanMurzak/Image Loader Installer/Installer.cs b/Installer/Assets/com.IvanMurzak/Image Loader Installer/Installer.cs index 37c865e..ca2edbe 100644 --- a/Installer/Assets/com.IvanMurzak/Image Loader Installer/Installer.cs +++ b/Installer/Assets/com.IvanMurzak/Image Loader Installer/Installer.cs @@ -15,7 +15,7 @@ namespace com.IvanMurzak.Unity.ImageLoader.Installer public static partial class Installer { public const string PackageId = "extensions.unity.imageloader"; - public const string Version = "7.0.2"; + public const string Version = "7.0.3"; static Installer() { diff --git a/Unity-Package/Assets/root/package.json b/Unity-Package/Assets/root/package.json index a680fbe..69005b7 100644 --- a/Unity-Package/Assets/root/package.json +++ b/Unity-Package/Assets/root/package.json @@ -7,7 +7,7 @@ "url": "https://github.com/IvanMurzak" }, "license": "MIT", - "version": "7.0.2", + "version": "7.0.3", "unity": "2019.4", "description": "Asynchronous image loading from remote or local destination. It has two layers of configurable Memory and Disk cache systems.", "keywords": [