Search Issue Tracker

Fixed in 2021.3.16f1

Fixed in 2021.3.X, 2022.2.X, 2023.1.X, 2023.1.0a13

Votes

0

Found in

2020.3.36f1

2021.3.6f1

2022.1.8f1

2022.2.0a19

2023.1.0a2

Issue ID

UUM-8679

Regression

No

Crash on EvaluateSlow when running particle system

Visual Effects - Legacy

-

How to reproduce:

  1. Open the user attached project
  2. Add the CRASH prefab to Hierarchy
  3. In Hierarchy select Canvas -> Button
  4. In the Inspector's Button Component, drag the child GameObject in the CRASH prefab into the OnClick event in the Button.
  5. Set the Button Function to test > Test (int)
  6. Enter Play Mode
  7. Click the Button
  8. The editor crashes

Reproducible with: 2020.3.36f1, 2021.3.6f1, 2022.1.8f1, 2022.2.0a19, 2023.1.0a2

Note: If the Button is not visible change the Aspect Ratio

Reproduced on: Windows 10 (Intel)

First lines of stack trace:
0x00007ff68ba294c2 (Unity) EvaluateSlow
0x00007ff68cb99e6d (Unity) UpdateOrbitalAndRadialTpl<4,0,0>
0x00007ff68cbab493 (Unity) VelocityModule::Update
0x00007ff68ba3b0d0 (Unity) ParticleSystem::UpdateModulesPreSimulationIncremental
0x00007ff68ba355c5 (Unity) ParticleSystem::StartModules

  1. Resolution Note (fix version 2023.1):

    The fix is to display an error and not crash.
    The setup is invalid - we don't support the XYZ curves using different modes (ie they must all be curves, or all floats, not a mixture)

    We handle this for all other modules that use XYZ curves, but had missed some error handling here.

    So you should update your code to use the same mode for all 3 orbital velocity curves.

Add comment

Log in to post comment