-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## [1.22.2] - 2024-05-13 - Fixed memory leak when loading Sprite objects from a SpriteAtlas asset. - Added support for directly calling Release() on AsyncOperationHandles that didn't have the option to. - Fixed issue where operation that uses WaitForCompletion can timeout much earlier than it should. - Sort collections to make serialized editor files deterministic - Fixed an issue where tearing down the Addressables instance could happen before user teardown code was getting called. - Fixed issue where labels on an addressable sub-entry are incorrectly added to the former parent entry.
- Loading branch information
Unity Technologies
committed
May 13, 2024
1 parent
655b7ff
commit 481c813
Showing
145 changed files
with
3,795 additions
and
736 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
using System.Collections.Generic; | ||
using UnityEditor.Build.Pipeline.Interfaces; | ||
using UnityEngine.AddressableAssets.ResourceLocators; | ||
|
||
namespace UnityEditor.AddressableAssets.Build.DataBuilders | ||
{ | ||
public interface IBuildLayoutParameters : IContextObject | ||
{ | ||
Dictionary<string, string> BundleNameRemap { get; set; } | ||
|
||
string BuildResultHash { get; } | ||
|
||
string CatalogHash { get; } | ||
} | ||
|
||
public class BuildLayoutParameters : IBuildLayoutParameters | ||
{ | ||
private Dictionary<string, string> m_BundleNameRemap; | ||
private ContentCatalogData m_contentCatalogData; | ||
|
||
public BuildLayoutParameters(Dictionary<string, string> bundleNameRemap) | ||
{ | ||
m_BundleNameRemap = bundleNameRemap; | ||
} | ||
|
||
public BuildLayoutParameters(Dictionary<string, string> bundleNameRemap, ContentCatalogData contentCatalogData) | ||
{ | ||
m_BundleNameRemap = bundleNameRemap; | ||
m_contentCatalogData = contentCatalogData; | ||
} | ||
public Dictionary<string, string> BundleNameRemap | ||
{ | ||
get => m_BundleNameRemap; | ||
set => m_BundleNameRemap = value; | ||
} | ||
|
||
public string BuildResultHash | ||
{ | ||
get => m_contentCatalogData?.BuildResultHash; | ||
} | ||
|
||
public string CatalogHash | ||
{ | ||
get => m_contentCatalogData?.LocalHash; | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.