From cc7ecc06331da6fe8016625bfe86d605e96fd3fd Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Sat, 8 Jun 2024 00:17:38 +0900 Subject: [PATCH 1/2] fix: Particles with MeshRenderer shape will be broken --- Editor/APIInternal/ComponentInfos.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/APIInternal/ComponentInfos.cs b/Editor/APIInternal/ComponentInfos.cs index 5b51fe465..fb4283ab8 100644 --- a/Editor/APIInternal/ComponentInfos.cs +++ b/Editor/APIInternal/ComponentInfos.cs @@ -113,7 +113,7 @@ protected override void CollectDependency(MeshRenderer component, ComponentDepen // Mesh renderer without Mesh does nothing if (!meshFilter || !meshFilter.sharedMesh) return; base.CollectDependency(component, collector); - collector.AddDependency(meshFilter); + collector.AddDependency(meshFilter).EvenIfDependantDisabled(); } } From 177469b03435248349a1aeb073b2c07597d2184d Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Sat, 8 Jun 2024 00:21:25 +0900 Subject: [PATCH 2/2] docs(changelog): Particle Syatem with Mesh Renderer shape will be broken --- CHANGELOG-PRERELEASE.md | 1 + CHANGELOG.md | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG-PRERELEASE.md b/CHANGELOG-PRERELEASE.md index 7bdd60a1c..b8fa3613e 100644 --- a/CHANGELOG-PRERELEASE.md +++ b/CHANGELOG-PRERELEASE.md @@ -23,6 +23,7 @@ The format is based on [Keep a Changelog]. - Write to Asset on Play menu item which is no-op `#1085` ### Fixed +- Particle Syatem with Mesh Renderer shape will be broken `#1093` ### Security diff --git a/CHANGELOG.md b/CHANGELOG.md index 61d559a03..d7daa68b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ The format is based on [Keep a Changelog]. ### Removed - Write to Asset on Play menu item which is no-op `#1085` +- Particle Syatem with Mesh Renderer shape will be broken `#1093` ### Fixed - Merge BlendTree Layer will break some BlendTrees that have overriden by other layers `#1084`