mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 12:05:23 +01:00
Reapply "unload immediate"
This reverts commit b0f445e415f9e0b19131ee99c0d67f16630235d4.
This commit is contained in:
parent
b0f445e415
commit
361fc2aa57
@ -47,7 +47,8 @@ namespace NewHorizons.Handlers
|
||||
{
|
||||
foreach (var bundle in StreamingManager.s_activeBundles)
|
||||
{
|
||||
StreamingManager.UnloadStreamingAssets(bundle.assetBundleName);
|
||||
// save memory NOW instead of next frame when other stuff has loaded and taken memory
|
||||
bundle.UnloadImmediate();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user