Skip to content

Commit ace73ad

Browse files
authored
Merge pull request #4954 from decentraland/release/2025-08-05
release: 2025-08-05
2 parents 6db57e4 + 6397f44 commit ace73ad

752 files changed

Lines changed: 211704 additions & 56605 deletions

File tree

Some content is hidden

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

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ assignees: ''
1414
### 📔 **Issue Description:**
1515
<!-- Short description of the observed issue -->
1616

17-
### **STR:**
17+
### 👣 **STR:**
1818

1919
1.
2020
2.
@@ -24,12 +24,15 @@ assignees: ''
2424

2525
### **Actual Result with evidence:**
2626

27+
### **Reproduction:**
28+
<!-- Select one option bellow and add notes such as "Happens 100% or happens to one user" -->
29+
##### 🔁 Always - (note)
2730

28-
### **Repro Index:**
29-
<!-- Starting on 0/10 attempts -->
31+
##### ⚠️ Intermittent - (note)
3032

33+
##### ❓ Unknown - (note)
3134

32-
### 🖥️ **Operative system and additional Notes:**
35+
#### 🖥️ **Operative system and additional Notes:**
3336
<!-- If the test is made on Mac, specify if the chip is M1 or Intel -->
3437

3538

Explorer/Assets/AddressableAssetsData/AddressableAssetSettings.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ MonoBehaviour:
1515
m_DefaultGroup: 47f803e1e9c5079449bd106df98a0b7d
1616
m_currentHash:
1717
serializedVersion: 2
18-
Hash: a6b474a8c1f3d2d1f0f9dc4906484622
18+
Hash: 00000000000000000000000000000000
1919
m_OptimizeCatalogSize: 0
2020
m_BuildRemoteCatalog: 0
2121
m_CatalogRequestsTimeout: 0

Explorer/Assets/AddressableAssetsData/AssetGroups/Essentials.asset

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ MonoBehaviour:
2020
m_ReadOnly: 0
2121
m_SerializedLabels: []
2222
FlaggedDuringContentUpdateRestriction: 0
23+
- m_GUID: 03dabb815fc004f9581a9528b72c106f
24+
m_Address: Assets/DCL/UI/GenericContextMenu/Prefabs/ButtonList.prefab
25+
m_ReadOnly: 0
26+
m_SerializedLabels: []
27+
FlaggedDuringContentUpdateRestriction: 0
2328
- m_GUID: 04a7ffcd277754f7c91237894604f522
2429
m_Address: NftRarityBackgrounds
2530
m_ReadOnly: 0
@@ -110,6 +115,11 @@ MonoBehaviour:
110115
m_ReadOnly: 0
111116
m_SerializedLabels: []
112117
FlaggedDuringContentUpdateRestriction: 0
118+
- m_GUID: 33891647b85dc47319f39490bb24594d
119+
m_Address: Assets/DCL/UI/GenericContextMenu/Prefabs/ToggleWithCheck.prefab
120+
m_ReadOnly: 0
121+
m_SerializedLabels: []
122+
FlaggedDuringContentUpdateRestriction: 0
113123
- m_GUID: 35aa85d68d15435418848a03a2db81ec
114124
m_Address: Assets/TextMesh Pro/Fonts & Materials/Inter-Regular SDF.asset
115125
m_ReadOnly: 0
@@ -145,6 +155,11 @@ MonoBehaviour:
145155
m_ReadOnly: 0
146156
m_SerializedLabels: []
147157
FlaggedDuringContentUpdateRestriction: 0
158+
- m_GUID: 497073cedbc8540c2b17104cfee96158
159+
m_Address: Assets/DCL/UI/GenericContextMenu/Prefabs/SubMenuButton.prefab
160+
m_ReadOnly: 0
161+
m_SerializedLabels: []
162+
FlaggedDuringContentUpdateRestriction: 0
148163
- m_GUID: 4a2a7b610414b45c1b576946ce094877
149164
m_Address: NftCategoryIcons
150165
m_ReadOnly: 0
@@ -176,7 +191,7 @@ MonoBehaviour:
176191
m_SerializedLabels: []
177192
FlaggedDuringContentUpdateRestriction: 0
178193
- m_GUID: 52c856180dc5d6447b902f06d38f4161
179-
m_Address: LightSourceDefaults
194+
m_Address: LightSourceSettings
180195
m_ReadOnly: 0
181196
m_SerializedLabels: []
182197
FlaggedDuringContentUpdateRestriction: 0
@@ -285,6 +300,11 @@ MonoBehaviour:
285300
m_ReadOnly: 0
286301
m_SerializedLabels: []
287302
FlaggedDuringContentUpdateRestriction: 0
303+
- m_GUID: 7a24101494a664ee59a8952e20b8f441
304+
m_Address: Assets/DCL/UI/GenericContextMenu/Prefabs/ControlsContainer.prefab
305+
m_ReadOnly: 0
306+
m_SerializedLabels: []
307+
FlaggedDuringContentUpdateRestriction: 0
288308
- m_GUID: 7a43321b8055d407ba2e871e873c7062
289309
m_Address: EmoteWheelRarityBackgrounds.asset
290310
m_ReadOnly: 0
@@ -380,6 +400,11 @@ MonoBehaviour:
380400
m_ReadOnly: 0
381401
m_SerializedLabels: []
382402
FlaggedDuringContentUpdateRestriction: 0
403+
- m_GUID: acb5d5500934645ac89935fe64d8bf01
404+
m_Address: Assets/DCL/UI/GenericContextMenu/Prefabs/ButtonWithText.prefab
405+
m_ReadOnly: 0
406+
m_SerializedLabels: []
407+
FlaggedDuringContentUpdateRestriction: 0
383408
- m_GUID: b028edf69a2c54c9194c4ce6524befff
384409
m_Address: ChatBubbleConfiguration
385410
m_ReadOnly: 0

Explorer/Assets/AddressableAssetsData/AssetGroups/Wearables.asset

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,33 @@ MonoBehaviour:
1515
m_GroupName: Wearables
1616
m_GUID: 8180de1f5c609ab4eba3413c504ab316
1717
m_SerializeEntries:
18-
- m_GUID: 2d002c6a594460f4cb42100b50e7e53a
19-
m_Address: EMPTY_DEFAULT_WEARABLE
18+
- m_GUID: 17775668c745d4edfae3bff500f95f32
19+
m_Address: F_Eyes_00
2020
m_ReadOnly: 0
2121
m_SerializedLabels: []
2222
FlaggedDuringContentUpdateRestriction: 0
23-
- m_GUID: 81ea8febf47eb484986af220584361dc
24-
m_Address: DefaultWearableDefinition
23+
- m_GUID: 1d6ca002a7e7b4f9c881a203eb97996f
24+
m_Address: M_Mouth_00
25+
m_ReadOnly: 0
26+
m_SerializedLabels: []
27+
FlaggedDuringContentUpdateRestriction: 0
28+
- m_GUID: 41b6cad6750bc4b35ba63ebbeb956830
29+
m_Address: M_EyeBrows_00
30+
m_ReadOnly: 0
31+
m_SerializedLabels: []
32+
FlaggedDuringContentUpdateRestriction: 0
33+
- m_GUID: 5de5609d1e6c441b5a7c56a77903cab7
34+
m_Address: F_Mouth_00
35+
m_ReadOnly: 0
36+
m_SerializedLabels: []
37+
FlaggedDuringContentUpdateRestriction: 0
38+
- m_GUID: 9372c7ef01a5a4a52a0e9b3467605717
39+
m_Address: M_Eyes_00
40+
m_ReadOnly: 0
41+
m_SerializedLabels: []
42+
FlaggedDuringContentUpdateRestriction: 0
43+
- m_GUID: eae766b15f997414794bfd4f17de5949
44+
m_Address: F_Eyebrows_00
2545
m_ReadOnly: 0
2646
m_SerializedLabels: []
2747
FlaggedDuringContentUpdateRestriction: 0

Explorer/Assets/DCL/ApplicationsGuards/ApplicationVersionGuard/ApplicationVersionGuard.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ public async UniTask<string> GetLatestVersionAsync(CancellationToken ct)
4848
ReportCategory.VERSION_CONTROL,
4949
new WebRequestHeadersInfo());
5050

51-
GitHubRelease latestRelease = JsonUtility.FromJson<GitHubRelease>(response.body);
52-
string latestVersion = latestRelease.tag_name.TrimStart('v');
51+
ClientVersionInfo versionInfo = JsonUtility.FromJson<ClientVersionInfo>(response.body);
52+
string latestVersion = versionInfo.version.TrimStart('v');
5353

5454
return latestVersion;
5555
}
@@ -159,9 +159,10 @@ Application.platform is RuntimePlatform.OSXEditor or RuntimePlatform.OSXPlayer &
159159
SystemInfo.processorType.Contains("apple", StringComparison.OrdinalIgnoreCase);
160160

161161
[Serializable]
162-
private struct GitHubRelease
162+
private struct ClientVersionInfo
163163
{
164-
public string tag_name;
164+
public string version;
165+
public string timestamp;
165166
}
166167
}
167168
}

Explorer/Assets/DCL/AuthenticationScreenFlow/AuthenticationScreenCharacterPreviewController.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ public AuthenticationScreenCharacterPreviewController(CharacterPreviewView view,
3030

3131
public override void Initialize(Avatar avatar)
3232
{
33+
playEmotesCts = playEmotesCts.SafeRestart();
34+
3335
previewAvatarModel.Wearables = ShortenWearables(avatar);
3436
previewAvatarModel.Emotes = ShortenEmotes(avatar);
3537

3638
base.Initialize(avatar);
3739
previewController!.Value.AddHeadIK();
38-
39-
playEmotesCts = playEmotesCts.SafeRestart();
40-
PlayEmoteAndAwaitItAsync(settings.IntroEmoteURN, playEmotesCts.Token).Forget();
40+
PlayEmote(settings.IntroEmoteURN);
4141
}
4242

4343
public new void OnHide(bool triggerOnHideBusEvent = true)

Explorer/Assets/DCL/AvatarRendering/AvatarShape/Components/AvatarShapeComponent.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ public struct AvatarShapeComponent
2626
public readonly List<CachedAttachment> InstantiatedWearables;
2727
public readonly List<Renderer> OutlineCompatibleRenderers;
2828

29+
public bool ShowOnlyWearables;
30+
2931
public AvatarShapeComponent(string name, string id, BodyShape bodyShape, WearablePromise wearablePromise,
30-
Color skinColor, Color hairColor, Color eyesColor)
32+
Color skinColor, Color hairColor, Color eyesColor, bool showOnlyWearables = false)
3133
{
3234
ID = id;
3335
Name = name;
@@ -42,10 +44,14 @@ public AvatarShapeComponent(string name, string id, BodyShape bodyShape, Wearabl
4244
IsVisible = true;
4345
HiddenByModifierArea = false;
4446
IsPreview = false;
47+
ShowOnlyWearables = showOnlyWearables;
4548
}
4649

4750
public void CreateOutlineCompatibilityList()
4851
{
52+
// TODO: support outline for wearables when body is invisible
53+
if (ShowOnlyWearables) return;
54+
4955
foreach (var wearable in InstantiatedWearables)
5056
{
5157
if (wearable.OutlineCompatible)

Explorer/Assets/DCL/AvatarRendering/AvatarShape/ComputeShader/ComputeShaderSkinning.cs

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
using DCL.AvatarRendering.AvatarShape.Components;
2+
using DCL.AvatarRendering.AvatarShape.Helpers;
3+
using DCL.AvatarRendering.Loading.Assets;
24
using DCL.AvatarRendering.Wearables.Helpers;
5+
using DCL.Diagnostics;
36
using DCL.Optimization.Pools;
7+
using System;
48
using System.Collections.Generic;
59
using System.Runtime.CompilerServices;
6-
using DCL.AvatarRendering.AvatarShape.Helpers;
7-
using DCL.AvatarRendering.Loading.Assets;
8-
using DCL.Diagnostics;
9-
using NUnit.Framework;
1010
using Unity.Collections;
1111
using Unity.Mathematics;
1212
using UnityEngine;
@@ -146,6 +146,17 @@ private void FillMeshArray(Mesh mesh, int currentMeshVertexCount, int vertexCoun
146146
int currentVertexCount = meshData.Mesh.sharedMesh.vertexCount;
147147
list.Add(SetupMaterial(meshData.Renderer, meshData.OriginalMaterial, auxVertCounter, avatarMaterial, avatarShapeComponent, facilFeatureTexture));
148148
auxVertCounter += currentVertexCount;
149+
150+
if (avatarShapeComponent.ShowOnlyWearables)
151+
{
152+
string name = meshData.OriginalMaterial.name;
153+
154+
if (name.Contains(ComputeShaderConstants.SKIN_MATERIAL_NAME, StringComparison.OrdinalIgnoreCase)
155+
|| name.Contains(ComputeShaderConstants.HAIR_MATERIAL_NAME, StringComparison.OrdinalIgnoreCase))
156+
meshData.Renderer.enabled = false;
157+
}
158+
else
159+
meshData.Renderer.enabled = true;
149160
}
150161

151162
return list;

Explorer/Assets/DCL/AvatarRendering/AvatarShape/Helpers/AvatarShapeDefaults.cs

Lines changed: 46 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,53 @@ public static class AvatarShapeDefaults
1515
R = 0.283f, G = 0.142f, B = 0f,
1616
};
1717

18-
public static Color3 GetEyeColor(this PBAvatarShape self) =>
19-
self.EyeColor ?? new Color3(NEUTRAL_COLOR);
18+
public static Color4 GetEyeColor(this PBAvatarShape self)
19+
{
20+
Color3 rgb = self.EyeColor ?? NEUTRAL_COLOR;
21+
22+
return new Color4
23+
{
24+
A = self.GetAlpha(),
25+
R = rgb.R,
26+
G = rgb.G,
27+
B = rgb.B,
28+
};
29+
}
30+
31+
public static Color4 GetHairColor(this PBAvatarShape self)
32+
{
33+
Color3 rgb = self.HairColor ?? NEUTRAL_COLOR;
34+
35+
return new Color4
36+
{
37+
A = self.GetAlpha(),
38+
R = rgb.R,
39+
G = rgb.G,
40+
B = rgb.B,
41+
};
42+
}
43+
44+
public static Color4 GetSkinColor(this PBAvatarShape self)
45+
{
46+
Color3 rgb = self.SkinColor ?? NEUTRAL_COLOR;
47+
48+
return new Color4
49+
{
50+
A = self.GetAlpha(),
51+
R = rgb.R,
52+
G = rgb.G,
53+
B = rgb.B,
54+
};
55+
}
56+
57+
private static float GetAlpha(this PBAvatarShape self)
58+
{
59+
var alpha = 1f;
2060

21-
public static Color3 GetHairColor(this PBAvatarShape self) =>
22-
self.HairColor ?? new Color3(HAIR_DEFAULT_COLOR);
61+
if (self.HasShowOnlyWearables)
62+
alpha = self.ShowOnlyWearables ? 0f : 1f;
2363

24-
public static Color3 GetSkinColor(this PBAvatarShape self) =>
25-
self.SkinColor ?? new Color3(NEUTRAL_COLOR);
64+
return alpha;
65+
}
2666
}
2767
}

0 commit comments

Comments
 (0)