Search Issue Tracker
Won't Fix
Votes
1
Found in
2020.3.48f1
2021.3.25f1
2022.2.20f1
2023.1.0b16
2023.2.0a15
Issue ID
UUM-35746
Regression
No
ArgumentOutOfRangeException is thrown when calling SetTriggerParticles overloaded method with offset parameter set to 0 and count parameter set to particleSystem.particleCount
Reproduction steps:
1. Open the attached “Repro.zip” project
2. Open the “Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Observe the Console
Expected result: No errors are present in the Console
Actual result: “ArgumentOutOfRangeException: offset+count should be smaller than the size of the particles list.” Error is thrown in the Console
Reproducible with: 2020.3.48f1, 2021.3.25f1, 2022.2.20f1, 2023.1.0b16, 2023.2.0a15
Reproducible on: Windows 10 Pro (22H2)
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
- Generate outline toggle is inactive in the Sprite Editor when only one sprite is selected
- The MustDisposeResource attribute is missing when using the Unity JetBrains.Annotations library subset
- [iOS] Error "RenderPass: Attachment 0 was created with 4 samples but 1 samples were requested. " is thrown when using UIToolkit and URP RenderGraph on iOS device
- The "INSTANCING_ON" shader variant is getting stripped when building the AssetBundle with the shader variant collection and the Instancing Variants set to Strip Unused
- [iOS] Building a project for iOS with 'Launch Screen' set to 'Custom Storyboard' fails if only iPhone storyboard was setup
Resolution Note:
Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and in this case the team is unable to prioritize fixing this bug. Currently, we're focusing our resources on fixing more critical issues that affect a larger portion of our user base.
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.