Skip to content

Commit 04186f9

Browse files
committed
Optimization of debug logs.
1 parent af7ada2 commit 04186f9

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ 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)