I created an empty game object and added a trail renderer to it, as is suggested in the Unity documentation, and added a rigidbody2d and a custom material (mobile —> particles —> additive) and then made it a child to the player’s game object which it will be a trail of. The problem is, anytime I run my game the trail flickers and doesn’t seem to update quickly enough. I thought it was supposed to be a constant trial that follows the player, instead it is updating maybe every three frames, if I had to guess.
To see what I mean, see my screen recording here: https://vid.me/nzUL
It is really strange because I have an fps counter on my game for debugging which says that it is running at 59-60 fps this whole time.
Does anybody know why this would be happening? I tried playing around with different textures for my material, and changed the trail renderer to interpolate, extrapolate, and neither, none of which helped. Any help would be great, thanks!