Skip to content

Commit 6d54e28

Browse files
authored
feat: Addressables tests (#1895)
1 parent 3b853e0 commit 6d54e28

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+912
-57
lines changed

testproject/Assets/AddressableAssetsData.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!114 &11400000
4+
MonoBehaviour:
5+
m_ObjectHideFlags: 0
6+
m_CorrespondingSourceObject: {fileID: 0}
7+
m_PrefabInstance: {fileID: 0}
8+
m_PrefabAsset: {fileID: 0}
9+
m_GameObject: {fileID: 0}
10+
m_Enabled: 1
11+
m_EditorHideFlags: 0
12+
m_Script: {fileID: 11500000, guid: 468a46d0ae32c3544b7d98094e6448a9, type: 3}
13+
m_Name: AddressableAssetSettings
14+
m_EditorClassIdentifier:
15+
m_DefaultGroup: 93aa504d1b753cb41a8a779ae63f5795
16+
m_OptimizeCatalogSize: 0
17+
m_BuildRemoteCatalog: 0
18+
m_BundleLocalCatalog: 0
19+
m_DisableCatalogUpdateOnStart: 0
20+
m_IgnoreUnsupportedFilesInBuild: 0
21+
m_UniqueBundleIds: 0
22+
m_maxConcurrentWebRequests: 500
23+
m_ContiguousBundles: 0
24+
m_RemoteCatalogBuildPath:
25+
m_Id: eaae5cc67c56cfe4299363a742a284b3
26+
m_RemoteCatalogLoadPath:
27+
m_Id: 2a3d80e942fdbfe49a979d4a22bbe893
28+
m_overridePlayerVersion:
29+
m_GroupAssets:
30+
- {fileID: 11400000, guid: 783a7ba7cfd87084388760e6c08547b4, type: 2}
31+
- {fileID: 11400000, guid: cb34f2b4f49b0a64aa04c7c5bcb3e41e, type: 2}
32+
m_BuildSettings:
33+
m_CompileScriptsInVirtualMode: 0
34+
m_CleanupStreamingAssetsAfterBuilds: 1
35+
m_LogResourceManagerExceptions: 1
36+
m_BundleBuildPath: Temp/com.unity.addressables/AssetBundles
37+
m_ProfileSettings:
38+
m_Profiles:
39+
- m_InheritedParent:
40+
m_Id: b7ba5fc73af2a49449023b732cdf652d
41+
m_ProfileName: Default
42+
m_Values:
43+
- m_Id: a2553e7788fb43741926b3128a0aa641
44+
m_Value: '[UnityEditor.EditorUserBuildSettings.activeBuildTarget]'
45+
- m_Id: 8bc200e556c0a2f4daf1a4696958eaa6
46+
m_Value: '[UnityEngine.AddressableAssets.Addressables.BuildPath]/[BuildTarget]'
47+
- m_Id: 80085c797452bb94ca0bf0a4b2ec258c
48+
m_Value: '{UnityEngine.AddressableAssets.Addressables.RuntimePath}/[BuildTarget]'
49+
- m_Id: eaae5cc67c56cfe4299363a742a284b3
50+
m_Value: ServerData/[BuildTarget]
51+
- m_Id: 2a3d80e942fdbfe49a979d4a22bbe893
52+
m_Value: http://localhost/[BuildTarget]
53+
m_ProfileEntryNames:
54+
- m_Id: a2553e7788fb43741926b3128a0aa641
55+
m_Name: BuildTarget
56+
m_InlineUsage: 0
57+
- m_Id: 8bc200e556c0a2f4daf1a4696958eaa6
58+
m_Name: LocalBuildPath
59+
m_InlineUsage: 0
60+
- m_Id: 80085c797452bb94ca0bf0a4b2ec258c
61+
m_Name: LocalLoadPath
62+
m_InlineUsage: 0
63+
- m_Id: eaae5cc67c56cfe4299363a742a284b3
64+
m_Name: RemoteBuildPath
65+
m_InlineUsage: 0
66+
- m_Id: 2a3d80e942fdbfe49a979d4a22bbe893
67+
m_Name: RemoteLoadPath
68+
m_InlineUsage: 0
69+
m_ProfileVersion: 1
70+
m_LabelTable:
71+
m_LabelNames:
72+
- default
73+
m_SchemaTemplates: []
74+
m_GroupTemplateObjects:
75+
- {fileID: 11400000, guid: cb6df8e07032d3047a59555cf38c6fa9, type: 2}
76+
m_InitializationObjects: []
77+
m_CertificateHandlerType:
78+
m_AssemblyName:
79+
m_ClassName:
80+
m_ActivePlayerDataBuilderIndex: 3
81+
m_DataBuilders:
82+
- {fileID: 11400000, guid: 9f220b782e4e67d4787c06a5ca9f25cc, type: 2}
83+
- {fileID: 11400000, guid: 34e64d32387bb4a4db2e4170f8100ace, type: 2}
84+
- {fileID: 11400000, guid: ae43701986fc59a44b2618f3bacabc0a, type: 2}
85+
- {fileID: 11400000, guid: d6f3a7ab824a4b04a970de0ba5011a93, type: 2}
86+
m_ActiveProfileId: b7ba5fc73af2a49449023b732cdf652d
87+
m_HostingServicesManager:
88+
m_HostingServiceInfos: []
89+
m_Settings: {fileID: 11400000}
90+
m_NextInstanceId: 0
91+
m_RegisteredServiceTypeRefs: []

testproject/Assets/AddressableAssetsData/AddressableAssetSettings.asset.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

testproject/Assets/AddressableAssetsData/AssetGroupTemplates.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!114 &-8661223282781350797
4+
MonoBehaviour:
5+
m_ObjectHideFlags: 1
6+
m_CorrespondingSourceObject: {fileID: 0}
7+
m_PrefabInstance: {fileID: 0}
8+
m_PrefabAsset: {fileID: 0}
9+
m_GameObject: {fileID: 0}
10+
m_Enabled: 1
11+
m_EditorHideFlags: 0
12+
m_Script: {fileID: 11500000, guid: 5834b5087d578d24c926ce20cd31e6d6, type: 3}
13+
m_Name: ContentUpdateGroupSchema
14+
m_EditorClassIdentifier:
15+
m_Group: {fileID: 0}
16+
m_StaticContent: 0
17+
--- !u!114 &-173518966553220934
18+
MonoBehaviour:
19+
m_ObjectHideFlags: 1
20+
m_CorrespondingSourceObject: {fileID: 0}
21+
m_PrefabInstance: {fileID: 0}
22+
m_PrefabAsset: {fileID: 0}
23+
m_GameObject: {fileID: 0}
24+
m_Enabled: 1
25+
m_EditorHideFlags: 0
26+
m_Script: {fileID: 11500000, guid: e5d17a21594effb4e9591490b009e7aa, type: 3}
27+
m_Name: BundledAssetGroupSchema
28+
m_EditorClassIdentifier:
29+
m_Group: {fileID: 0}
30+
m_Compression: 1
31+
m_IncludeAddressInCatalog: 1
32+
m_IncludeGUIDInCatalog: 1
33+
m_IncludeLabelsInCatalog: 1
34+
m_InternalIdNamingMode: 0
35+
m_IncludeInBuild: 1
36+
m_BundledAssetProviderType:
37+
m_AssemblyName:
38+
m_ClassName:
39+
m_ForceUniqueProvider: 0
40+
m_UseAssetBundleCache: 1
41+
m_UseAssetBundleCrc: 1
42+
m_UseAssetBundleCrcForCachedBundles: 1
43+
m_Timeout: 0
44+
m_ChunkedTransfer: 0
45+
m_RedirectLimit: -1
46+
m_RetryCount: 0
47+
m_BuildPath:
48+
m_Id:
49+
m_LoadPath:
50+
m_Id:
51+
m_BundleMode: 0
52+
m_AssetBundleProviderType:
53+
m_AssemblyName:
54+
m_ClassName:
55+
m_BundleNaming: 0
56+
--- !u!114 &11400000
57+
MonoBehaviour:
58+
m_ObjectHideFlags: 0
59+
m_CorrespondingSourceObject: {fileID: 0}
60+
m_PrefabInstance: {fileID: 0}
61+
m_PrefabAsset: {fileID: 0}
62+
m_GameObject: {fileID: 0}
63+
m_Enabled: 1
64+
m_EditorHideFlags: 0
65+
m_Script: {fileID: 11500000, guid: 1a3c5d64ac83548c09dd1678b9f6f1cd, type: 3}
66+
m_Name: Packed Assets
67+
m_EditorClassIdentifier:
68+
m_SchemaObjects:
69+
- {fileID: -173518966553220934}
70+
- {fileID: -8661223282781350797}
71+
m_Description: Pack assets into asset bundles.
72+
m_Settings: {fileID: 0}

testproject/Assets/AddressableAssetsData/AssetGroupTemplates/Packed Assets.asset.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

testproject/Assets/AddressableAssetsData/AssetGroups.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!114 &11400000
4+
MonoBehaviour:
5+
m_ObjectHideFlags: 0
6+
m_CorrespondingSourceObject: {fileID: 0}
7+
m_PrefabInstance: {fileID: 0}
8+
m_PrefabAsset: {fileID: 0}
9+
m_GameObject: {fileID: 0}
10+
m_Enabled: 1
11+
m_EditorHideFlags: 0
12+
m_Script: {fileID: 11500000, guid: bbb281ee3bf0b054c82ac2347e9e782c, type: 3}
13+
m_Name: Built In Data
14+
m_EditorClassIdentifier:
15+
m_GroupName: Built In Data
16+
m_Data:
17+
m_SerializedData: []
18+
m_GUID: 42bcc811e41b9f54baba926c243b7608
19+
m_SerializeEntries:
20+
- m_GUID: Resources
21+
m_Address: Resources
22+
m_ReadOnly: 1
23+
m_SerializedLabels: []
24+
m_MainAsset: {fileID: 0}
25+
m_TargetAsset: {fileID: 0}
26+
- m_GUID: EditorSceneList
27+
m_Address: EditorSceneList
28+
m_ReadOnly: 1
29+
m_SerializedLabels: []
30+
m_MainAsset: {fileID: 0}
31+
m_TargetAsset: {fileID: 0}
32+
m_ReadOnly: 1
33+
m_Settings: {fileID: 11400000, guid: 75e5cd8b6bfca5d49a5818e70d71b64d, type: 2}
34+
m_SchemaSet:
35+
m_Schemas:
36+
- {fileID: 11400000, guid: 51fa2527519429944b6f26066c7050ff, type: 2}

testproject/Assets/AddressableAssetsData/AssetGroups/Built In Data.asset.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!114 &11400000
4+
MonoBehaviour:
5+
m_ObjectHideFlags: 0
6+
m_CorrespondingSourceObject: {fileID: 0}
7+
m_PrefabInstance: {fileID: 0}
8+
m_PrefabAsset: {fileID: 0}
9+
m_GameObject: {fileID: 0}
10+
m_Enabled: 1
11+
m_EditorHideFlags: 0
12+
m_Script: {fileID: 11500000, guid: bbb281ee3bf0b054c82ac2347e9e782c, type: 3}
13+
m_Name: Default Local Group
14+
m_EditorClassIdentifier:
15+
m_GroupName: Default Local Group
16+
m_Data:
17+
m_SerializedData: []
18+
m_GUID: 93aa504d1b753cb41a8a779ae63f5795
19+
m_SerializeEntries:
20+
- m_GUID: ffa1ab8ed58b72343ad93116ded1700a
21+
m_Address: AddressableTestObject.prefab
22+
m_ReadOnly: 0
23+
m_SerializedLabels: []
24+
m_MainAsset: {fileID: 0}
25+
m_TargetAsset: {fileID: 0}
26+
m_ReadOnly: 0
27+
m_Settings: {fileID: 11400000, guid: 75e5cd8b6bfca5d49a5818e70d71b64d, type: 2}
28+
m_SchemaSet:
29+
m_Schemas:
30+
- {fileID: 11400000, guid: 6b8a226e7c996ad4b841b997672f866c, type: 2}
31+
- {fileID: 11400000, guid: 07e6ff907f5779a42b6e632340d10c58, type: 2}

0 commit comments

Comments
 (0)