Search Issue Tracker
By Design
Votes
0
Found in
2022.3.59f1
6000.0.40f1
6000.1.0b8
6000.2.0a5
Issue ID
UUM-98556
Regression
Yes
Particle System "Start Rotation" property affects a different axis when upgrading to newer Editor versions
Reproduction steps:
1. Open the attached “IN-95977.zip” project
2. Open the “SampleScene”
3. From the Hierarchy, select the “particle_system” GameObject
4. In the Inspector, while the Particles are moving, modify the “Start Rotation” property (increase and decrease)
5. Observe the rotation of the Particles
Expected result: The Particles are rotated along the X-axis
Actual result: The Particles are rotated along the Y-axis
Reproducible with: 2022.2.0a4, 2022.3.59f1, 6000.0.40f1, 6000.1.0b8, 6000.2.0a5
Not reproducible with: 2021.3.49f1, 2022.2.0a3
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Note:
- Additionally, when the “Start Rotation” has a non-zero value and the Y Rotation of the “Edge” Shape (In the Shape module of the Particle System) is set to “90”, the rotation of the Particles is also affected, which was not the case before the regression
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Resolution Note:
Unfortunately, the axis of rotation was incorrect in versions previous to 22.3. In particular, before, the rotation of the emitter shape was not being considered when computing this axis.
In the attached project, the emitter shape is rotated 90 degrees. In 21.3, it would have the same axis of rotation regardless of the rotation of the emitter shape (world X axis, in this case). In 22.3, such axis is rotated with the shape, and ends up being different (world Y axis).
Luckily, there is an easy workaround. We have a 3D Start Rotation property that can be enabled. Using a single Start Rotation value is equivalent to using a 3D Start rotation with (0, 0, StartRotation).
For the attached particle system, a value of 3D Start Rotation = (StartRotation, 0, 0) could be used instead.