# Lyra weapon tracers fail in huge worlds?

**URL:** <https://forums.unrealengine.com/t/lyra-weapon-tracers-fail-in-huge-worlds/1612400>\
**Category:** FX\
**Tags:** unreal-engine, question\
**Created:** [January 13, 2024, 10:15pm UTC](https://forums.unrealengine.com/t/lyra-weapon-tracers-fail-in-huge-worlds/1612400 "2024-01-13T22:15:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Astaraa](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/astaraa/32/1194560_2.png) [@Astaraa](https://forums.unrealengine.com/u/Astaraa)\
**Post date:** [January 13, 2024, 10:15pm UTC](https://forums.unrealengine.com/t/lyra-weapon-tracers-fail-in-huge-worlds/1612400/1 "2024-01-13T22:15:06Z")

</div>

Lyra weapon tracers fly off to some unknown point in a huge environment where location values reach for example 40,000,000 (million). Weapons hit their targets but their Niagara tracer effects don’t. (UE 5.3.1)

What could cause that to happen?

 ![Screenshot 2024-01-13 075726](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/1/4/91484e4171f7f1ca96fa04eb003ec56ea7490bd8.jpeg)

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [January 14, 2024, 1:08am UTC](https://forums.unrealengine.com/t/lyra-weapon-tracers-fail-in-huge-worlds/1612400/2 "2024-01-14T01:08:26Z")

</div>

Hey there @Astaraa! Is the disparity only present at incredibly large ranges? Is the disparity somewhat consistent? I haven’t worked with Lyra’s tracers or LWC much, but could the particle systems be based in 32 bit float coordinates while most things in large worlds have been transferred to 64 bit?

---

<div class="post-metadata">

**Author:** ![Astaraa](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/astaraa/32/1194560_2.png) [@Astaraa](https://forums.unrealengine.com/u/Astaraa)\
**Post date:** [January 14, 2024, 4:14am UTC](https://forums.unrealengine.com/t/lyra-weapon-tracers-fail-in-huge-worlds/1612400/3 "2024-01-14T04:14:18Z")

</div>

It sounds like that would be why.  
It’s consistent every time and only present when one of the hit axis is in the millions.

Good:  
X=339,561.829 Y=515,001.751 Z=928,307.028 (nothing over a million)  
Fail:  
X=17,437,759.785 Y=-50,473,029.087 Z=40,123,224.301 (really far)  
X=423,692.028 Y=824,790.946 Z=1,480,304.827 (Z)  
X=341,091.680 Y=-5,421,233.621 Z=400,122.742 (Y)

So…

Setting “Vector is in Absolute Large World Space” seems to help the default Lyra tracer (NS\_WeaponFire\_Tracer).

 ![Lyra Tracer Large World](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/9/7/d97cf00e2561760d6c16c1e7a645e86d78b96cfd.jpeg)

And I notice a beam I have reporting this.  
_LogNiagara: Warning: Setting variable Beam End on asset … with value (17463202.513138, -50474958.350273, 40122310.973417), which does not fit into a FVector3f without losing precision! Consider using a position type instead if the input is a location._

Changing it to a position seems good. 🧑‍🏭

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [January 14, 2024, 8:17pm UTC](https://forums.unrealengine.com/t/lyra-weapon-tracers-fail-in-huge-worlds/1612400/4 "2024-01-14T20:17:25Z")

</div>

Ahhh great work, there’s a bunch of systems that haven’t caught up to 64bit floats so these things pop up here and there and my best way to identify them is space based games (due to the distances at play). Do these settings work for your use case?

---

<div class="post-metadata">

**Author:** ![Astaraa](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/astaraa/32/1194560_2.png) [@Astaraa](https://forums.unrealengine.com/u/Astaraa)\
**Post date:** [January 15, 2024, 5:40am UTC](https://forums.unrealengine.com/t/lyra-weapon-tracers-fail-in-huge-worlds/1612400/5 "2024-01-15T05:40:05Z")

</div>

Yes it solved it, thanks for the help! 🍻

 ![Screenshot 2024-01-15 003328](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/1/e/51e1b64eb2bd7e384327d20d2dccfa5f850f80f8.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [February 14, 2024, 5:40am UTC](https://forums.unrealengine.com/t/lyra-weapon-tracers-fail-in-huge-worlds/1612400/6 "2024-02-14T05:40:34Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
