Search Issue Tracker

Fixed

Fixed in 2022.3.20f1, 2023.2.9f1, 2023.3.0b6

Votes

1

Found in

2022.3.15f1

2023.2.4f1

2023.3.0a18

Issue ID

UUM-58366

Regression

Yes

Crash on WriteParticleLineVertex when the "Generate Lighting Data" property is enabled in the Particle System

--

-

Reproduction steps:
1. Open the attached “crash_IN-61152.zip“ project
2. Open the “/Assets/Scenes/MainScene.unity“
3. Select the “Particle System“ GameObject
4. In the Inspector, the “Particle System“ Component, enable the “Trails“ module and “Generate Lighting Data“ property
5. Observe the crash

Reproduced with: 2022.3.11f1, 2022.3.15f1, 2023.2.4f1, 2023.3.0a18
Not reproduced with: 2021.3.33f1, 2022.3.10f1

Reproduced on: Windows 10 (22H2)
Not reproduced on: No other environments tested

Notes:

* Not possible to check if the issue is reproducible in Player as it’s not possible to modify the “Generate Lighting Data“ property dynamically
* The reproduction is almost consistent, so if enabling the “Generate Lighting Data“ property doesn’t crash the Editor immediately, wait for a few seconds or disable and enable the property again

First few lines of stack trace:
0x00007FF65F1F761F (Unity) WriteParticleLineVertex
0x00007FF65F1B46B8 (Unity) BuildParticleLineSegment<unsigned short>
0x00007FF65F1B3548 (Unity) BuildParticleLine<unsigned short>
0x00007FF65F1F447A (Unity) ParticleSystemTrailGeometryJob::RenderJobCommon
0x00007FF65F1F2D7E (Unity) ParticleSystemTrailGeometryJob::RenderJob

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.