Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .github/workflows/build-profile-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
workflow_dispatch:
schedule:
- cron: '0 2 * * *' # Runs at 2 AM UTC every day

jobs:
check-commits:
name: Check for New Commits
Expand All @@ -20,6 +21,13 @@ jobs:
- name: Check for commits since last nightly build
id: check
run: |
# Always build on manual runs
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
echo "Manual run detected (workflow_dispatch), forcing build"
echo "should_build=true" >> $GITHUB_OUTPUT
exit 0
fi

# Get the timestamp of the last successful nightly build
LAST_BUILD_TIME=$(gh run list \
--workflow="Nightly Profile Build" \
Expand Down Expand Up @@ -63,6 +71,7 @@ jobs:
with:
fetch-depth: 0
ref: dev

- name: Get version
id: get_version
uses: ./.github/actions/version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ MonoBehaviour:
m_ReadOnly: 0
m_SerializedLabels: []
FlaggedDuringContentUpdateRestriction: 0
- m_GUID: 12b4fff9ab8d499daeea83b35361143c
m_Address: DCL/Tree
m_ReadOnly: 0
m_SerializedLabels: []
FlaggedDuringContentUpdateRestriction: 0
- m_GUID: 14d01fab2fcc2a440a8bccf12e0ff49f
m_Address: 0,-69
m_ReadOnly: 0
Expand Down Expand Up @@ -275,6 +280,11 @@ MonoBehaviour:
m_ReadOnly: 0
m_SerializedLabels: []
FlaggedDuringContentUpdateRestriction: 0
- m_GUID: d7b318506a944b25af4454772c05d76b
m_Address: DCL/TreeImpostor
m_ReadOnly: 0
m_SerializedLabels: []
FlaggedDuringContentUpdateRestriction: 0
- m_GUID: d7baa85a7da60ef4b8b5252d78fa1b3d
m_Address: RoadData
m_ReadOnly: 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,44 +1,76 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &519172183748224098
--- !u!1 &514266350378456127
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 834799993087900087}
- component: {fileID: 1320374440001470226}
- component: {fileID: 6160680555938614300}
m_Layer: 0
m_Name: BushOptimized_v02
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6160680555938614300
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 514266350378456127}
serializedVersion: 2
m_LocalRotation: {x: -0.000000037748947, y: 0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 3926274296495183636}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &3461258582442191109
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3926274296495183636}
- component: {fileID: 7767313585600816112}
m_Layer: 17
m_Name: CollisionObject0
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &834799993087900087
--- !u!4 &3926274296495183636
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 519172183748224098}
m_GameObject: {fileID: 3461258582442191109}
serializedVersion: 2
m_LocalRotation: {x: -0, y: 0.000000030888096, z: 0.7071068, w: 0.7071068}
m_LocalPosition: {x: 0.006637088, y: 0.53919345, z: -0.0029117465}
m_LocalRotation: {x: 0.000000026692538, y: 0.0000000041955577, z: 0.7071068, w: 0.7071068}
m_LocalPosition: {x: 0.006637088, y: 0.53919345, z: -0.0029117058}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 8599971206723624496}
m_Father: {fileID: 6160680555938614300}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!136 &1320374440001470226
--- !u!136 &7767313585600816112
CapsuleCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 519172183748224098}
m_GameObject: {fileID: 3461258582442191109}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
Expand All @@ -55,35 +87,3 @@ CapsuleCollider:
m_Height: 1.1490948
m_Direction: 0
m_Center: {x: 0, y: 0, z: 0}
--- !u!1 &5833301951409387908
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8599971206723624496}
m_Layer: 0
m_Name: Bush02 Collider
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8599971206723624496
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5833301951409387908}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 716.7916, y: 0.08944039, z: -1574.5286}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 834799993087900087}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -451,5 +451,30 @@ private static void CopyDirectory(string sourceDir, string targetDir, bool recur
}
}
}

public class FindSpeedTreeMaterials : EditorWindow
{
[MenuItem("Decentraland/Shaders/Find SpeedTree Materials")]
static void FindMaterials()
{
string[] guids = AssetDatabase.FindAssets("t:Material");
List<Material> speedTreeMats = new List<Material>();

foreach (string guid in guids)
{
string path = AssetDatabase.GUIDToAssetPath(guid);
Material mat = AssetDatabase.LoadAssetAtPath<Material>(path);

if (mat != null && mat.shader != null &&
mat.shader.name.Contains("SpeedTree"))
{
speedTreeMats.Add(mat);
Debug.Log($"SpeedTree material found: {mat.name} at {path}");
}
}

Debug.Log($"Total SpeedTree materials found: {speedTreeMats.Count}");
}
}
}
}

This file was deleted.

Loading
Loading