From 38aec2ea1afd77677d629c86665a3342d92e49d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serkan=20S=CC=A7enkal?= Date: Mon, 7 Apr 2025 15:27:09 +0300 Subject: [PATCH 1/6] fix: UIParticle in canvas with 0f-0.01f alpha value does not start to play until alpha value is greater than 0.01f, causes play calls to be delayed unintentionally if canvas alpha value is set to mentioned value range --- Packages/src/Runtime/UIParticleRenderer.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Packages/src/Runtime/UIParticleRenderer.cs b/Packages/src/Runtime/UIParticleRenderer.cs index fc1ea73..262f958 100644 --- a/Packages/src/Runtime/UIParticleRenderer.cs +++ b/Packages/src/Runtime/UIParticleRenderer.cs @@ -283,10 +283,6 @@ namespace Coffee.UIExtensions || !transform.lossyScale.GetScaled(_parent.scale3DForCalc).IsVisible() // Scale is not visible. || (!_particleSystem.IsAlive() && !_particleSystem.isPlaying) // No particle. || (_isTrail && !_particleSystem.trails.enabled) // Trail, but it is not enabled. -#if UNITY_2018_3_OR_NEWER - || canvasRenderer.GetInheritedAlpha() < - 0.01f // #102: Do not bake particle system to mesh when the alpha is zero. -#endif ) { Profiler.BeginSample("[UIParticleRenderer] Clear Mesh"); From a9461ecb4d40d7fe878e12465d6e38faae7ae65b Mon Sep 17 00:00:00 2001 From: mob-sakai <12690315+mob-sakai@users.noreply.github.com> Date: Sat, 14 Jun 2025 09:41:44 +0900 Subject: [PATCH 2/6] fix: fix icon --- Packages/src/Runtime/UIParticle.cs | 2 +- Packages/src/Runtime/UIParticleRenderer.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Packages/src/Runtime/UIParticle.cs b/Packages/src/Runtime/UIParticle.cs index 9caaf19..b2c079b 100644 --- a/Packages/src/Runtime/UIParticle.cs +++ b/Packages/src/Runtime/UIParticle.cs @@ -17,7 +17,7 @@ namespace Coffee.UIExtensions /// /// Render maskable and sortable particle effect ,without Camera, RenderTexture or Canvas. /// - [Icon("Packages/com.coffee.ui-particle/Icons/UIParticleIcon.png")] + [Icon("Packages/com.coffee.ui-particle/Editor/UIParticleIcon.png")] [ExecuteAlways] [RequireComponent(typeof(RectTransform))] [RequireComponent(typeof(CanvasRenderer))] diff --git a/Packages/src/Runtime/UIParticleRenderer.cs b/Packages/src/Runtime/UIParticleRenderer.cs index 262f958..f1ff6d4 100644 --- a/Packages/src/Runtime/UIParticleRenderer.cs +++ b/Packages/src/Runtime/UIParticleRenderer.cs @@ -15,7 +15,7 @@ using UnityEngine.UI; namespace Coffee.UIExtensions { - [Icon("Packages/com.coffee.ui-particle/Icons/UIParticleIcon.png")] + [Icon("Packages/com.coffee.ui-particle/Editor/UIParticleIcon.png")] [ExecuteAlways] [RequireComponent(typeof(RectTransform))] [RequireComponent(typeof(CanvasRenderer))] From 1c8c65d25e7f6fe7b1d20da4461333df8fc7578e Mon Sep 17 00:00:00 2001 From: mob-sakai <12690315+mob-sakai@users.noreply.github.com> Date: Fri, 8 Aug 2025 17:57:40 +0900 Subject: [PATCH 3/6] fix: fix URL link in README close #376 --- Packages/src/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/src/README.md b/Packages/src/README.md index 8e049ec..5e7db7f 100644 --- a/Packages/src/README.md +++ b/Packages/src/README.md @@ -144,7 +144,7 @@ _This package requires **Unity 2018.3 or later**._ #### Install as Embedded Package -1. Download a source code zip file from [Releases](https://github.com/mob-sakai/ParticleEffectForUGUI.git/releases) and extract it. +1. Download a source code zip file from [Releases](https://github.com/mob-sakai/ParticleEffectForUGUI/releases) and extract it. 2. Place it in your project's `Packages` directory. ![](https://github.com/mob-sakai/mob-sakai/assets/12690315/0b7484b4-5fca-43b0-a9ef-e5dbd99bcdb4) - If you want to fix bugs or add features, install it as an embedded package. From df2f3caafbe279f1457d74f8183cb561ac14aa17 Mon Sep 17 00:00:00 2001 From: mob-sakai <12690315+mob-sakai@users.noreply.github.com> Date: Tue, 14 Oct 2025 19:43:29 +0900 Subject: [PATCH 4/6] fix: fix: second and subsequent bursts not displayed when world simulation and non-looping close #326 --- Packages/src/Runtime/UIParticleRenderer.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Packages/src/Runtime/UIParticleRenderer.cs b/Packages/src/Runtime/UIParticleRenderer.cs index f1ff6d4..92cf049 100644 --- a/Packages/src/Runtime/UIParticleRenderer.cs +++ b/Packages/src/Runtime/UIParticleRenderer.cs @@ -311,6 +311,13 @@ namespace Coffee.UIExtensions #endif { ResolveResolutionChange(psPos, scale); + + // fix: second and subsequent bursts not displayed when world simulation and non-looping. (#326) + if (!_particleSystem.IsLocalSpace() && !main.loop && _particleSystem.time == 0) + { + _delay = true; + } + Simulate(scale, _parent.isPaused || _delay); if (_delay && !_parent.isPaused) From fe179c0f0f46b05de97b9242daa8042fa5039c0b Mon Sep 17 00:00:00 2001 From: mob-sakai <12690315+mob-sakai@users.noreply.github.com> Date: Tue, 14 Oct 2025 19:47:54 +0900 Subject: [PATCH 5/6] chore: update workflow --- .github/workflows/release.yml | 8 ++++---- .github/workflows/test.yml | 22 +++++++++++++--------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b823378..fee2c3b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,10 +27,10 @@ jobs: split_to: ${{ steps.summary.outputs.split_to }} steps: - name: 🚚 Checkout (${{ github.ref_name }}) - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: 🔖 Run semantic release - uses: cycjimmy/semantic-release-action@v4 + uses: cycjimmy/semantic-release-action@v5 id: release with: working_directory: Packages/src @@ -67,7 +67,7 @@ jobs: contents: write steps: - name: 🚚 Checkout (${{ needs.release.outputs.merge_to }}) - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ needs.release.outputs.merge_to }} fetch-depth: 0 @@ -88,7 +88,7 @@ jobs: contents: write steps: - name: 🚚 Checkout (${{ needs.release.outputs.tag }}) - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ needs.release.outputs.tag }} fetch-depth: 0 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d1dd4eb..839c884 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,6 +10,7 @@ env: MINIMUM_VERSION: 2019.4 # EXCLUDE_FILTER: The excluded versions of Unity. EXCLUDE_FILTER: "(2020.2.0|2021.1|2023.3)" + PROJECT_PATH: . on: workflow_dispatch: @@ -21,7 +22,7 @@ on: push: branches: - develop - - develop-preview + - "develop-*" tags: - "!*" paths-ignore: @@ -71,11 +72,11 @@ jobs: steps: - name: 🚚 Checkout ($${{ github.ref }}) if: github.event_name == 'push' - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: 🚚 Checkout pull request (pull_request_target) if: github.event_name == 'pull_request_target' - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 @@ -85,25 +86,27 @@ jobs: run: | git config user.name "GitHub Actions" git config user.email "actions@github.com" - git merge origin/${{ github.event.pull_request.base.ref }} --no-edit + git rebase ${{ github.event.pull_request.base.sha }} + git log --oneline -n 10 - name: 📥 Cache library uses: actions/cache@v4 with: - path: Library - key: Library-${{ matrix.unityVersion }}-${{ github.event.pull_request.head.sha || github.sha }} + path: ${{ env.PROJECT_PATH }}/Library + key: ${{ env.PROJECT_PATH }}-Library-${{ matrix.unityVersion }}-${{ github.event.pull_request.head.sha || github.sha }} restore-keys: | - Library-${{ matrix.unityVersion }}- - Library- + ${{ env.PROJECT_PATH }}-Library-${{ matrix.unityVersion }}- + ${{ env.PROJECT_PATH }}-Library- - name: 🛠️ Build Unity Project (Test) - uses: game-ci/unity-builder@v4 + uses: game-ci/unity-builder@main timeout-minutes: 45 with: customImage: ghcr.io/mob-sakai/unity3d:${{ matrix.unityVersion }} targetPlatform: StandaloneLinux64 allowDirtyBuild: true customParameters: -nographics + projectPath: ${{ env.PROJECT_PATH }} env: UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} @@ -118,6 +121,7 @@ jobs: customParameters: -nographics checkName: ${{ matrix.unityVersion }} Test Results githubToken: ${{ github.token }} + projectPath: ${{ env.PROJECT_PATH }} env: UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} From 9d56c94636f8e39681dac2ffb27d4a17da1b9f25 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 14 Oct 2025 11:53:52 +0000 Subject: [PATCH 6/6] chore(release): 4.11.3 [skip ci] ## [4.11.3](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v4.11.2...v4.11.3) (2025-10-14) ### Bug Fixes * fix icon ([a9461ec](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/a9461ecb4d40d7fe878e12465d6e38faae7ae65b)) * fix URL link in README ([1c8c65d](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/1c8c65d25e7f6fe7b1d20da4461333df8fc7578e)), closes [#376](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/376) * fix: second and subsequent bursts not displayed when world simulation and non-looping ([df2f3ca](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/df2f3caafbe279f1457d74f8183cb561ac14aa17)), closes [#326](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/326) * UIParticle in canvas with 0f-0.01f alpha value does not start to play until alpha value is greater than 0.01f, causes play calls to be delayed unintentionally if canvas alpha value is set to mentioned value range ([38aec2e](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/38aec2ea1afd77677d629c86665a3342d92e49d9)) --- Packages/src/CHANGELOG.md | 10 ++++++++++ Packages/src/package.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Packages/src/CHANGELOG.md b/Packages/src/CHANGELOG.md index 59e1327..334789d 100644 --- a/Packages/src/CHANGELOG.md +++ b/Packages/src/CHANGELOG.md @@ -1,3 +1,13 @@ +## [4.11.3](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v4.11.2...v4.11.3) (2025-10-14) + + +### Bug Fixes + +* fix icon ([a9461ec](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/a9461ecb4d40d7fe878e12465d6e38faae7ae65b)) +* fix URL link in README ([1c8c65d](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/1c8c65d25e7f6fe7b1d20da4461333df8fc7578e)), closes [#376](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/376) +* fix: second and subsequent bursts not displayed when world simulation and non-looping ([df2f3ca](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/df2f3caafbe279f1457d74f8183cb561ac14aa17)), closes [#326](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/326) +* UIParticle in canvas with 0f-0.01f alpha value does not start to play until alpha value is greater than 0.01f, causes play calls to be delayed unintentionally if canvas alpha value is set to mentioned value range ([38aec2e](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/38aec2ea1afd77677d629c86665a3342d92e49d9)) + ## [4.11.2](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v4.11.1...v4.11.2) (2025-03-15) diff --git a/Packages/src/package.json b/Packages/src/package.json index 0f9b146..10d159c 100644 --- a/Packages/src/package.json +++ b/Packages/src/package.json @@ -2,7 +2,7 @@ "name": "com.coffee.ui-particle", "displayName": "UI Particle", "description": "This package provides a component to render particle effects for uGUI.\nThe particle rendering is maskable and sortable, without the need for an extra Camera, RenderTexture, or Canvas.", - "version": "4.11.2", + "version": "4.11.3", "unity": "2018.2", "license": "MIT", "repository": {