Search Issue Tracker

By Design

Votes

0

Found in

2022.3.59f1

6000.0.40f1

6000.1.0b8

6000.2.0a5

Issue ID

UUM-100781

Regression

No

Wrong shader appears when Particle System is added as a component

-

Steps to reproduce:
1. Create a new project
2. Create a GameObject (3D Cube, Sphere, Capsule)
3. Add a Particle System component to it
4. Observe the pink particles (wrong shader)
5. Create a Particle system as a GameObject (Right click in the Hierarchy > Effects > Particle System)
6. Observe the Scene view (Particle system has the correct shader)

Expected result: Particles appear with the correct shader and material when adding a Particle System component to an existing GameObject
Actual result: When adding a Particle System component to an existing GameObject, the particles appear pink (indicating a missing or incorrect shader)

Reproducible in: 2022.3.59f1, 6000.0.40f1, 6000.1.0b8, 6000.2.0a5

Reproducible on: Windows 11
Not reproducible on: No other environment tested

  1. Resolution Note:

    As confusing as it may seem, this is the expected behavior.
    The context menu to create new objects is doing some adjustments to ensure that the final object is immediately usable. Depending on the object, this may include setting a default material, transforming the object, or setting some properties (for instance, different lights use the same component with different settings).
    On the other hand, when adding a new component, an empty version of it is created with no setup and just the default values.
    This is consistent with the behavior of other components, especially renderers (mesh renderer, line renderer, etc), which by default have no material selected and render magenta.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.