# The Niagara Set Vector Array does not work

**URL:** <https://forums.unrealengine.com/t/the-niagara-set-vector-array-does-not-work/228990>\
**Category:** FX\
**Tags:** unreal-engine, UE4-26\
**Created:** [May 12, 2021, 3:25pm UTC](https://forums.unrealengine.com/t/the-niagara-set-vector-array-does-not-work/228990 "2021-05-12T15:25:49Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![WhiteC0T](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WhiteC0T](https://forums.unrealengine.com/u/WhiteC0T)\
**Post date:** [May 12, 2021, 3:25pm UTC](https://forums.unrealengine.com/t/the-niagara-set-vector-array-does-not-work/228990/1 "2021-05-12T15:25:49Z")

</div>

The “Niagara Set Vector Array” does not seem to work, as it fails to copy over the passed in array no matter what. Is that an intended behavior?

---

<div class="post-metadata">

**Author:** ![WhiteC0T](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WhiteC0T](https://forums.unrealengine.com/u/WhiteC0T)\
**Post date:** [May 14, 2021, 5:38pm UTC](https://forums.unrealengine.com/t/the-niagara-set-vector-array-does-not-work/228990/2 "2021-05-14T17:38:44Z")

</div>

If anyone will find it helpful, C++ arrays did not work with niagara binds done in blueprint. Solution was to either copy over content from C++ array to blueprint-created array or to do bind in c++.

---

<div class="post-metadata">

**Author:** ![docjaq-aardman](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/docjaq-aardman/32/88708_2.png) [@docjaq-aardman](https://forums.unrealengine.com/u/docjaq-aardman)\
**Post date:** [December 6, 2021, 4:30pm UTC](https://forums.unrealengine.com/t/the-niagara-set-vector-array-does-not-work/228990/3 "2021-12-06T16:30:14Z")

</div>

Would you mind explaining your solution? Having the same issue, and not quite sure what you mean.

Thanks.

---

<div class="post-metadata">

**Author:** ![Rufus170](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rufus170](https://forums.unrealengine.com/u/Rufus170)\
**Post date:** [May 5, 2022, 8:48pm UTC](https://forums.unrealengine.com/t/the-niagara-set-vector-array-does-not-work/228990/4 "2022-05-05T20:48:41Z")

</div>

Hi, I’m having the same issue, could you elaborate on the solution?

---

<div class="post-metadata">

**Author:** ![XxWhtlotusxX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XxWhtlotusxX](https://forums.unrealengine.com/u/XxWhtlotusxX)\
**Post date:** [May 6, 2022, 3:20am UTC](https://forums.unrealengine.com/t/the-niagara-set-vector-array-does-not-work/228990/5 "2022-05-06T03:20:01Z")

</div>

I think what he is saying is that if he had created an array in C++, then tried to use that array with Niagara using a blueprint to set/access the data, it would fail.

If i’m understanding everything correctly, he had to either set the Niagara parameter using C++ or he had to create something in blueprint to store the data from the C++ array being accessed in blueprints and then copy over the data.

I’m not sure that this solves nor addresses the question of why the "Niagara Set Vector Array” doesn’t work the way its supposed to.

---

<div class="post-metadata">

**Author:** ![Rufus170](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rufus170](https://forums.unrealengine.com/u/Rufus170)\
**Post date:** [May 6, 2022, 5:39pm UTC](https://forums.unrealengine.com/t/the-niagara-set-vector-array-does-not-work/228990/6 "2022-05-06T17:39:15Z")

</div>

hi, I Made a user variable of type array vector, made a test array vector in the blueprint and tried to pass the array to niagara with “Niagara Set Array Vector”, and it didn’t work ☹  
(Setting non-array variables does work)

Does anyone know what could be happening?

---

<div class="post-metadata">

**Author:** ![Rufus170](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rufus170](https://forums.unrealengine.com/u/Rufus170)\
**Post date:** [May 7, 2022, 6:06pm UTC](https://forums.unrealengine.com/t/the-niagara-set-vector-array-does-not-work/228990/7 "2022-05-07T18:06:17Z")

</div>

After further investigation… both C++ arrays DO change the user attributes (when you use "Niagara get vector, the output indicates that he valuse was changed)  
BUT  
The user attributes of array type can’t change system/particle/Emitter attributes  
I tried with user parameters with default values and it doesn’t work…

---

<div class="post-metadata">

**Author:** ![AdamC\_BH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AdamC\_BH](https://forums.unrealengine.com/u/AdamC_BH)\
**Post date:** [May 16, 2023, 4:46pm UTC](https://forums.unrealengine.com/t/the-niagara-set-vector-array-does-not-work/228990/8 "2023-05-16T16:46:24Z")

</div>

Still seems to be an issue in 5.2

---

<div class="post-metadata">

**Author:** ![AdamC\_BH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AdamC\_BH](https://forums.unrealengine.com/u/AdamC_BH)\
**Post date:** [May 23, 2023, 4:47pm UTC](https://forums.unrealengine.com/t/the-niagara-set-vector-array-does-not-work/228990/9 "2023-05-23T16:47:57Z")

</div>

Ok I got it working in 5.1 and 5.2 using an array of positions in Niagara

---

<div class="post-metadata">

**Author:** ![lukejsmithluo1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lukejsmithluo1](https://forums.unrealengine.com/u/lukejsmithluo1)\
**Post date:** [August 23, 2023, 8:39am UTC](https://forums.unrealengine.com/t/the-niagara-set-vector-array-does-not-work/228990/10 "2023-08-23T08:39:50Z")

</div>

My Niagara Set Vector Array can’t work too, but Niagara Set Position Array have same effect likes Niagara Set Vector Array, you can try use Niagara Set Position Array solve this issue.

---

<div class="post-metadata">

**Author:** ![NaveenSaiNikhi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NaveenSaiNikhi](https://forums.unrealengine.com/u/NaveenSaiNikhi)\
**Post date:** [January 16, 2024, 3:57pm UTC](https://forums.unrealengine.com/t/the-niagara-set-vector-array-does-not-work/228990/11 "2024-01-16T15:57:36Z")

</div>

@AdamC_BH, I am facing the same issue with set position array. is possible for you to share how you got it working.

---

<div class="post-metadata">

**Author:** ![AdamC\_BH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AdamC\_BH](https://forums.unrealengine.com/u/AdamC_BH)\
**Post date:** [January 17, 2024, 1:13pm UTC](https://forums.unrealengine.com/t/the-niagara-set-vector-array-does-not-work/228990/12 "2024-01-17T13:13:44Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/0/0/6002bef65e68cbdbb0107d53198dd4c0eb37f3bf.png)

---

<div class="post-metadata">

**Author:** ![where44444](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@where44444](https://forums.unrealengine.com/u/where44444)\
**Post date:** [June 6, 2024, 9:51pm UTC](https://forums.unrealengine.com/t/the-niagara-set-vector-array-does-not-work/228990/13 "2024-06-06T21:51:41Z")

</div>

I had this problem too with trying to set a vector array in the particle namespace by copying it from the user namespace. The problem was I was doing the copy in Particle Spawn, it works in Particle Update, you just need to do it with a scratch pad module or something to make sure you only copy it on the first frame.

---

<div class="post-metadata">

**Author:** ![pollypp11](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pollypp11/32/723456_2.png) [@pollypp11](https://forums.unrealengine.com/u/pollypp11)\
**Post date:** [May 11, 2025, 4:49pm UTC](https://forums.unrealengine.com/t/the-niagara-set-vector-array-does-not-work/228990/14 "2025-05-11T16:49:50Z")

</div>

Note, if you are doing a lot of name changes to the user variables when attempting to make this stuff work. You might have to restart the editor (UE 5.4.4). In my case the user variable name was correct, but the data didn’t transfer correctly, restarted the editor and success!. I do not use the User. prefix in BP like AdamC\_BH does, but my testing shows it works with and without.
