I wasn't gonna do this but my god it lags a lot due to there having tons of objects for trees and other features on my procedural world.
I have a Tilemap for the background which doesn't really lag at all
The only thing that lags after the game generates trees and rocks.
This is how it looks, the room is 5000x5000 and it generates all of the tiles/features all at one, which isn't very good for performance.
This is all my code.