Search Issue Tracker

Fixed in 2022.1.X

Votes

2

Found in

2019.4

2020.3

2020.3.18f1

2021.1

2021.2

2022.1

Issue ID

1364565

Regression

No

Assertion failed thrown when running Particle System with Texture Sheet Animation enabled in Play mode for a while

Visual Effects - Legacy

-

Reproduction steps:
1. Open the user's attached project
2. Open scene 'Scenes/SampleScene'
3. Make sure that 'Poison Area/Green Cloud Mist' has 'Texture Sheet Animation' enabled in its Particle System
4. Enter Play mode and wait

Expected result: The Particle System runs without issues
Actual result: After some time, the error mentioned in the notes will get thrown repeatedly

Reproducible with: 2019.4.32f1, 2020.3.22f1, 2021.1.28f1, 2021.2.3f1, 2022.1.0a15

Notes:
1. Error thrown: Assertion failed on expression: 'all(sheetIndexNormalized >= 0.0f) && all(sheetIndexNormalized <= 1.0f)'
2. It may take anywhere from a few minutes to an hour of running to get the issue to reproduce
3. On 2022.1.0a15 'Invalid Texture Sheet Animation frame index' is thrown instead of the usual error.

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.2.0a2

Comments (1)

  1. HB_VFX

    Jan 18, 2023 15:57

    It would be great if this fix was incorporated into 2021.3.x if possible.

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.