I’m working on a first person shooter and the projectiles spawn a deferred decal at location on hit. These decals need to be visible from any distance and it was all working properly this morning!
After spawning decal at location, I use Set Fade Screen Size to set a new value of 0.0 (as confirmed by a print string); however, the decal still behaves as if the value was default and fades as you move far enough away from it.
As a comparison, I put a DecalActor onto a wall in the map via the map editor and set its Fade Screen Size value to 0.0 in the details panel and it behaves properly (doesn’t fade no matter how far away the player is).
I tried compiling the game to see if it was a problem with previewing it in the editor but the problem persists. The last thing I did before this problem started was preview the game in the editor with number of players set to 2 for the first time. Up until today I had only ran it with 1 player.
Any ideas? Perhaps this is a bug with the blueprint?