Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X
Votes
0
Found in
2019.3.7f1
2019.4
2020.2
2020.2.1f1
2021.1
2021.2
Issue ID
1313413
Regression
Yes
"offset is outside the valid range" error is thrown when setting the particles with the same variables as getting them
How to reproduce:
1. Open the user's attached "ParticleTest" project
2. Open the Scene "SampleScene"
3. Enter the Play Mode
4. Press the "Emit 100" button twice
Expected results: No errors are thrown
Actual results: The "ArgumentException: ParticleSystem.SetParticles() offset is outside the valid range of supplied particle data: 100" error is thrown in the Console
Reproducible with: 2019.3.7f1, 2019.4.21f1, 2020.2.6f1, 2021.1.0b8, 2021.2.0a6
Not reproducible with: 2018.4.32f1, 2019.3.6f1
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
- PropertyDrawer is unresponsive when ReorderableList() and DoList() is used
- Element UI disappears and NullReferenceException is thrown when dragging off the last or first element from the list in the Inspector
- [Silicon] Crash on ScriptableRenderLoopJob when machine is left idle while the Editor is in Play mode
- [Android] GraphicsBuffer.CopyCount does not work with Append Compute Buffer after Compute Shader Dispatch on some Android devices
- "DirectoryNotFoundException" error when building a project via script in one folder, then building via Editor in another, deleting the folder built via Editor and rebuilding via Script
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a11
Resolution Note (fix version 2021.1):
Fixed in 2021.1.2f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.6f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.28f1