Skip to content

Commit 3f93c5a

Browse files
committed
Merge branch 'main' into release/ver1.2
2 parents 8f29f31 + 04186f9 commit 3f93c5a

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

Plugins/AsyncDataAssetManager/Source/AsyncDataAssetManager/Private/AsyncDataAssetManagerSubsystem.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,19 @@ void UAsyncDataAssetManagerSubsystem::Initialize(FSubsystemCollectionBase& Colle
1616
EnableLog = SettingsADAM->bEnableLogADAM;
1717

1818
// Allows you to use Blueprint Code
19-
void ReceivePostSubsystemInit();
19+
ReceivePostSubsystemInit();
2020
}
2121

2222
// Freeing memory during deinitialization
2323
void UAsyncDataAssetManagerSubsystem::Deinitialize()
2424
{
2525
Super::Deinitialize();
2626

27-
UnloadAllADAM(true);
27+
if (!DataADAM.IsEmpty())
28+
{
29+
// Clearing saved TSharedPtr<FStreamableHandle>
30+
UnloadAllADAM(true);
31+
}
2832

2933
OnLoadedADAM.Clear();
3034
}

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ ADAM is a plugin for Unreal Engine 5 that adds a subsystem for asynchronous load
1010
> The plugin has been pre-packaged only for Win64 and Android.
1111
1212
# Latest Updates
13-
`Version 1.2.1`
13+
`Version 1.2.2`
1414
- Build version for Unreal Engine 5.5.
1515
- Refactoring and optimization of the code.
1616
- Added Support for Recursive Loading. This feature enables recursive loading, meaning if you have a Data Asset that contains other Data Assets, and so on, enabling the recursive loading option will load the entire nested collection into memory. The data will be filtered to prevent duplicate entries.
1717

1818
<br>
1919

2020
- The typo in the function parameter comment hint has been corrected.
21+
- Optimization of debug logs.
2122

2223
## What it's for
2324
- Load and unload Data Assets asynchronously using simple functions.

0 commit comments

Comments
 (0)