From 5c61b540c9c88cf33347d11387f398674dc4abfc Mon Sep 17 00:00:00 2001 From: Daiki Hakamata Date: Wed, 15 Apr 2026 17:35:45 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Addressables=E3=81=AE=E8=A8=AD=E5=AE=9A?= =?UTF-8?q?=E3=81=8C=E6=9C=AA=E7=94=9F=E6=88=90=E3=81=AE=E5=A0=B4=E5=90=88?= =?UTF-8?q?=E3=81=ABnull=E4=BE=8B=E5=A4=96=E3=81=8C=E7=99=BA=E7=94=9F?= =?UTF-8?q?=E3=81=99=E3=82=8B=E4=B8=8D=E5=85=B7=E5=90=88=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Core/Tools/Importer/SmartAddresserAssetPostProcessor.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/SmartAddresser/Editor/Core/Tools/Importer/SmartAddresserAssetPostProcessor.cs b/Assets/SmartAddresser/Editor/Core/Tools/Importer/SmartAddresserAssetPostProcessor.cs index 0720abd..ef7c086 100644 --- a/Assets/SmartAddresser/Editor/Core/Tools/Importer/SmartAddresserAssetPostProcessor.cs +++ b/Assets/SmartAddresser/Editor/Core/Tools/Importer/SmartAddresserAssetPostProcessor.cs @@ -20,12 +20,13 @@ string[] movedFromAssetPaths ) { var addressableSettings = AddressableAssetSettingsDefaultObject.Settings; - var beforeHash = addressableSettings.currentHash; // Check this because AddressableAssetSettingsDefaultObject.Settings may be null at this point when the Library folder is deleted. if (addressableSettings == null) return; + var beforeHash = addressableSettings.currentHash; + if (!ShouldProcess(importedAssetPaths, deletedAssetPaths, movedAssetPaths, movedFromAssetPaths)) return;