# Niagara system not working until I open it and it compiles - still won't work in packaged game

**URL:** <https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132>\
**Category:** FX\
**Tags:** unreal-engine\
**Created:** [December 30, 2020, 8:10pm UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132 "2020-12-30T20:10:17Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![J.PAPAUD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@J.PAPAUD](https://forums.unrealengine.com/u/J.PAPAUD)\
**Post date:** [December 30, 2020, 8:10pm UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/1 "2020-12-30T20:10:17Z")

</div>

Hello everyone,

I’m Julien and this is my first post here!  
Hope I’m in the right place for the issue I’m facing.

I’ve started learning UE4 in 2020 and I did overcome many difficulties thanks to wonderful resources available online, in this forum and other places.  
Though, now is the time for me to reach out for help.

I’m working on an effect where particles are emitted from a video texture. Particles spawn on a rectangle surface, inherit from the color of the video texture corresponding to their position, and then travel at constant speed away from the rectangle.

My problem is that the effect doesn’t work until I open the Niagara System. It doesn’t seem to compile until then.  
All works fine after I open the Niagara System, it works when playing in preview mode, but it doesn’t work again in the packaged game.  
I am certain that it comes from the “sample texture” node in the Niagara emitter, because if I duplicate the system and delete the node, the particles are emitted (the white particles in attached pictures).  
It seems that the Niagara system has trouble sampling the video texture.

Any idea on how to fix this issue?  
I guess I should somehow force the Niagara system to compile via blueprint, but I don’t know enough about the engine to do so.

I hope my explanations are clear enough, tell me if it isn’t.

Thanks very much,  
Happy end of the year.

Engine version: 4.25.4  
Also, the video is stored in Content/Movies, as I’ve red it should be.

---

<div class="post-metadata">

**Author:** ![BlackShadow972](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlackShadow972](https://forums.unrealengine.com/u/BlackShadow972)\
**Post date:** [April 22, 2022, 6:11pm UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/2 "2022-04-22T18:11:24Z")

</div>

Hi,

i have the same problem but with UE5, did you find a solution? or is a bug?

---

<div class="post-metadata">

**Author:** ![ozgunyalcin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ozgunyalcin](https://forums.unrealengine.com/u/ozgunyalcin)\
**Post date:** [July 19, 2022, 8:01am UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/3 "2022-07-19T08:01:45Z")

</div>

Hi, I would like to keep this thread alive as I encountered the same problem when I packaged the game for android.

I selected ETC2 option for packaging and tested it with my phone. An explosion animation done with Niagara system didn’t spawn or it just didn’t show anything visually.

When I tested on mobile preview mode on editor, Niagara effects worked, but still required couple of seconds to compile the shader. It didn’t show the effect fully in the first couple of trigger events. It still requires some time to wait after the first trigger event to show the full animation.

Couldn’t find a solution yet…

---

<div class="post-metadata">

**Author:** ![jjonahlowercase](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jjonahlowercase/32/546671_2.png) [@jjonahlowercase](https://forums.unrealengine.com/u/jjonahlowercase)\
**Post date:** [July 21, 2022, 11:44pm UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/4 "2022-07-21T23:44:01Z")

</div>

Same problem here in UE5.0.3

---

<div class="post-metadata">

**Author:** ![S.H.Miao](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@S.H.Miao](https://forums.unrealengine.com/u/S.H.Miao)\
**Post date:** [August 24, 2022, 9:34am UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/5 "2022-08-24T09:34:32Z")

</div>

Same problem here in UE 5.0.3.

---

<div class="post-metadata">

**Author:** ![Alleluso](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alleluso](https://forums.unrealengine.com/u/Alleluso)\
**Post date:** [October 4, 2022, 11:18pm UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/6 "2022-10-04T23:18:36Z")

</div>

I’m having the same issue in UE 5.0.3

---

<div class="post-metadata">

**Author:** ![xenofsnstudios](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xenofsnstudios/32/1194578_2.png) [@xenofsnstudios](https://forums.unrealengine.com/u/xenofsnstudios)\
**Post date:** [October 13, 2022, 5:29pm UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/7 "2022-10-13T17:29:46Z")

</div>

Recreating a whole new effect seems to have fixed the issue. I have no idea how the effect got corrupted in the first place though.

---

<div class="post-metadata">

**Author:** ![xenofsnstudios](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xenofsnstudios/32/1194578_2.png) [@xenofsnstudios](https://forums.unrealengine.com/u/xenofsnstudios)\
**Post date:** [October 13, 2022, 5:31pm UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/8 "2022-10-13T17:31:04Z")

</div>

I’m also having this problem and it looks like it’s an engine bug. I have a Niagara system with a single looping particle that only begins working in game after I open up the effect.

After I open up the effect it works the entire time the editor is open, but when I close the editor and open it back up again, the effect stops working again. The effect does not work in packaged executables either.

If I make a package AFTER opening the effect to get it working again, then the built package fails to start when I run it and I get a LowLevelFatalError from line 1161 in AsyncLoading2.cpp stating “Bad export index”.

---

<div class="post-metadata">

**Author:** ![vexe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vexe](https://forums.unrealengine.com/u/vexe)\
**Post date:** [February 11, 2023, 1:33am UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/9 "2023-02-11T01:33:54Z")

</div>

I’m experiencing this in 5.1 as well, any workarounds?

---

<div class="post-metadata">

**Author:** ![AtlanticaWorlds](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/atlanticaworlds/32/926144_2.png) [@AtlanticaWorlds](https://forums.unrealengine.com/u/AtlanticaWorlds)\
**Post date:** [February 23, 2023, 1:08am UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/10 "2023-02-23T01:08:24Z")

</div>

I’m having this issue in UE 5.1.

---

<div class="post-metadata">

**Author:** ![Detach789](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Detach789](https://forums.unrealengine.com/u/Detach789)\
**Post date:** [February 23, 2023, 1:33am UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/11 "2023-02-23T01:33:17Z")

</div>

This is a complete wild guess, but you could try putting your whole Niagara folder in “additional asset directories to cook” just to make absolutely sure it cooks it. It should be right under the map list in packaging settings.

---

<div class="post-metadata">

**Author:** ![AtlanticaWorlds](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/atlanticaworlds/32/926144_2.png) [@AtlanticaWorlds](https://forums.unrealengine.com/u/AtlanticaWorlds)\
**Post date:** [February 23, 2023, 1:48am UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/12 "2023-02-23T01:48:32Z")

</div>

I had to create a new Niagara System file and it’s working just fine now. The original file must have gotten corrupted somehow.

---

<div class="post-metadata">

**Author:** ![ActionVFX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ActionVFX](https://forums.unrealengine.com/u/ActionVFX)\
**Post date:** [April 18, 2023, 1:00am UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/13 "2023-04-18T01:00:33Z")

</div>

Same issue here. No proper solution yet it seems.

---

<div class="post-metadata">

**Author:** ![Fulezi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fulezi/32/813318_2.png) [@Fulezi](https://forums.unrealengine.com/u/Fulezi)\
**Post date:** [July 27, 2023, 8:31am UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/14 "2023-07-27T08:31:34Z")

</div>

This happens to me on the Ribbon render with a Duration behavior.

A workaround is to switch `Loop Bheavior` to `Multiple` with a `Loop Count` of 1.

 ![UnrealEditor-Win64-DebugGame_gRMZvn8tl6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/6/f/a6f52fa961b2a97ce82d774fa1bc5d93b4c53bd3.png)

---

<div class="post-metadata">

**Author:** ![SuhaYusuf](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/suhayusuf/32/956911_2.png) [@SuhaYusuf](https://forums.unrealengine.com/u/SuhaYusuf)\
**Post date:** [August 4, 2023, 8:59am UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/15 "2023-08-04T08:59:23Z")

</div>

Do you have found this issue?

---

<div class="post-metadata">

**Author:** ![Dr\_Loveless](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dr_loveless/32/735613_2.png) [@Dr\_Loveless](https://forums.unrealengine.com/u/Dr_Loveless)\
**Post date:** [August 4, 2023, 11:12am UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/16 "2023-08-04T11:12:40Z")

</div>

I ONLY READ THE TITLE

CHANGE THE LIFE OR LIFESPAN TO BE HONEST I CANT EVEN REMEMBER WHAT THEY CALL IT BECAUSE I JUST TYPE LIFE IN THE DETAILS PANEL TO SEARCH

THE LIFE CAN BE NON-ZERO TO INITIATE THE RESPAWN OF THE NIAGARA PARTICLE SYSTEM

WORK WITH THE LIFE, THAT’S THE ANSWER

AND YES, SOMETIMES IT NEEDS COMPILED BUT IF YOU BUILD WHILE IT WORKS AND THERE ARE NO VALIDITY ERRORS ALSO IF THE LIFE IS NOT ALREADY SET TO END THE PARTICLE EFFECT AT A CERTAIN TIME THEN WHATEVER IT HAS TO HAPPEN, YOU HAVE TO COMPILE THE EFFECTS, THEN MAKE SURE THEY ARE PLAYING PROPERLY

YEA.

SO.

CHANGE THE LIFE BECAUSE MINE NEVER JUST SPAWN. I HAVE TO TELL THEM TO LAST LIKE 10000 SECONDS.

---

<div class="post-metadata">

**Author:** ![4xy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/4xy/32/934270_2.png) [@4xy](https://forums.unrealengine.com/u/4xy)\
**Post date:** [May 6, 2024, 8:34pm UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/18 "2024-05-06T20:34:28Z")

</div>

Hey! I have same issue in 5.3. It happens for me when I’m using “Generate Collision Event” with world space emitter. I have fixed this issue when disabled “Bake Rapid Iteration Parameters” in “Performance” block in System parameters.

 ![Скриншот 06-05-2024 224556](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/d/c/cdc0ed3fa19ecaaba1788d29480c389c8ac8429c.png)

---

<div class="post-metadata">

**Author:** ![Hukha](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hukha](https://forums.unrealengine.com/u/Hukha)\
**Post date:** [May 30, 2024, 4:59pm UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/19 "2024-05-30T16:59:03Z")

</div>

Happens for us every time we pull from our repo with certain Niagara Systems.  
The issue seems to be related to user parameters not being updated, recompiling and saving fixes it.  
Also 5.3 and none of the fixes mentioned here work 😕

---

<div class="post-metadata">

**Author:** ![Totespare](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Totespare](https://forums.unrealengine.com/u/Totespare)\
**Post date:** [June 5, 2024, 10:51am UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/20 "2024-06-05T10:51:57Z")

</div>

Same happening over here, nothing fixes it other than opening the file or recompile the whole niagara system… So so annoying… ☹

---

<div class="post-metadata">

**Author:** ![Loux\_xavier](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loux_xavier/32/1201519_2.png) [@Loux\_xavier](https://forums.unrealengine.com/u/Loux_xavier)\
**Post date:** [July 24, 2024, 4:58am UTC](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132/21 "2024-07-24T04:58:56Z")

</div>

I’m having the same issue in UE 5.4.3 and no warnings or errors in the logs. You can also reproduce the issue with a right click → reload.

- Switch Loop Bheavior to Multiple with a Loop Count of 1 did not fix.
- Change lifespan did not fix.
- Set Bake Rapid Iteration Parameters on False did not fix.

I did other tests and on my side it’s as if it doesn’t manage all the array parameters until I open it.

[Next page](https://forums.unrealengine.com/t/niagara-system-not-working-until-i-open-it-and-it-compiles-still-wont-work-in-packaged-game/224132.md?page=2)
