Description

Uniform Ranged for integers maximum is exclusive but should be inclusive or at least say otherwise

Steps to Reproduce

Project has been attached for simple repro sample.

1. Download and open the attached project.
2. Navigate to NiagaraBug2 Folder->VFX Shapes
3.Navigate to Particle Spawn-> Set Variables.
4. Observe the Minimum and Maximum numbers set in the SubImagIndex.

Result: sprites will only display the first image in a sub uv texture, even though minimum is 0 and maximum is 1. That is, it will never reach 1

Expected: Sprites should sometimes display the first (index 0) and sometimes the 2nd (index 1) image of the sub uv.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-85959 in the post.

1
Login to Vote

Won't Fix
ComponentUE - Niagara
Affects Versions4.24
CreatedDec 17, 2019
ResolvedAug 27, 2021
UpdatedAug 27, 2021
View Jira Issue