-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## [2.2.2] - 2024-06-26 - Fix KeyNotFoundException when clicking on local bundles in the profiler. - Fix bundles incorrectly marked as released in the Profiler when they are still active - Improved error message when trying to load a catalog in an unexpected file format. - Fixed issue where operation that uses WaitForCompletion can timeout much earlier than it should. - The build scripts were reworked so that you can extend them or copy them outside the package without having to fork the entire package. - A Version field was added to the Addressables object for getting the package version in the Editor. - Fixed an issue where tearing down the Addressables instance could happen before user tear down code was getting called. - Sort collections to make serialized editor files deterministic - Fixed issue where labels on an addressable sub-entry are incorrectly added to the former parent entry. - Added support for calling Release() on AsyncOperationHandles directly that couldn't before. - Fixed sub-object loading from AssetReferences for types that are not Sprites in a SpriteAtlas.
- Loading branch information
Unity Technologies
committed
Jun 26, 2024
1 parent
45b4451
commit 580b2db
Showing
116 changed files
with
2,438 additions
and
1,963 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
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.