So I currently fixed the problem but I still don't know what caused the problem. I would like any info and help to prevent this from happening in the future and any tips in general.
Am editing around 2 hours of footage on Vegas pro 19. It worked fine before, occasionally it would freeze but would be fine, some crashed here and there but nothing crazy. I googled it and it seemed like it was a normal occurence. However now when I tab out it starts to render. It says ("Project Name").veg.3.sfap0 or veg.4.sfap0. I have deleted some files it used but it was never a big issue.
The footage was recorded with OBS and it's recorded in the .mp4 format. The encoder is x264 and audio encoder is FFmpeg AAC ( I don't know what any of this means besides .mp4 but I'm putting it here since it might be useful)
Whenever Vegas get's done rendering a "portion" or whatever my windows makes a generic noise. When it's all done I can click around on different stuff. I tried removing some files that were in the project but not in my folder because I assumed that was the problem and it started rendering again. I worked on this stuff for a long time and I don't want it to be un-recoverable.
My CPU is Ryzen 7 5800x and my GPU is a RX590. I have 16GB DDR4 RAM. I only added recorded sound effects and I used .jpg .png and .webp image files. I used some .GIFs but I was careful because some would really lag it up but the ones I used for this project didn't cause any problems and I actually deleted the most recent one I put in because I assumed it was causing problems.
I bought my copy from a humble bundle and in the white bar it just says "Vegas Pro 19.0".
Edit: I managed to render the footage and it's safe but it started rendering .veg.5.fap0 as soon as I clicked back on the window.
Edit 2: If links are not allowed please delete it but I found a post on reddit of someone recording what is exactly happening to me https://www.reddit.com/r/VegasPro/comments/vfzthr/sony_vegas_is_trying_to_render_itself_does_anyone/