Trail Renderer time is inconsistent in build and in editor

I have a trail renderer with a time a 0.5. In playmode, this time results in the trail effectively having an infinite lifetime, but in a build, it behaves as intended. I can only have it work correctly in playmode by setting the time to a very small number like 0.000001f. Has anyone encountered this issue before?

is the time scale in Project Settings/Time set to something weird?
or the preview time scale in the scene view preview settings, when selecting the trail? (this second one shouldn’t affect playmode, but could be a bug if it is)

I’ve managed to fix it by deleting and recreating the component (also manually entered values rather than copy pasting just to be safe). I had touched the preview time scale previously but it was still set to 1 when the issue was happening so I doubt that is the cause. I also confirmed that time scale was set to 1 (also if time scale was messed up then a lot of other objects would also be having issues).

These are the values for reference:

And the values in the debug view if that helps:


9896019--1428918--upload_2024-6-18_22-29-28.png