Skip to content

Particle system 2d color interpolation bug #19144

@raduangelescu

Description

@raduangelescu

Cocos Creator version

3.8.8, 3.8.7

System information

Windows 11 Editor, Windows 11 browser

Issue description

When specifying different start and end colors for lifetimes bigger than 8s ( e.g 32 seconds) the particle color interpolation will fail (the start color will never change into the end color)

Relevant error log output

No response

Steps to reproduce

  1. Create a test scene with a ParticlesSystem2d in it
  2. Set Duration to -1 and lifetime to 32
  3. Set Start color to white and end color to red
  4. Notice that when running the game or in editor preview the particle does not change color during lifetime
    Note: If you lower the lifetime value to 6 seconds it will work.

Minimal reproduction project

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugNeeds TriageNeeds to be assigned by the team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions