i have a issue. there is any form to make unity stop writing and rewriting the projects every time, its slowing my hdd
What does writing and rewriting the project mean?
it always has a process that consumes a lot of disk
When does this happen, and can you supply more information such as unity version used, project specifics etc.
unity 2019.4 , a 2d project
Could you give more information about your 2D project and your computer’s specifications, ram especially?
like what information about the project
core i3 2120
ram 8GB ddr3
gt 710 2gb gddr5
hdd 750 gb
What kind of art is the project (retro / high ram detailed art etc). 8GB is not much memory if you have a lot of tabs open in a browser for example so close any other running processes to free ram up.
When you have a problem with the hard drive access and Unity, what do you see on screen? any messages, slowdowns, issues - or do you refer to the HDD accessing frequently?
Does it prevent you working? How does it “slow” your hard drive?
my project is a low low detail game i use minor resolutions than 720P, and when i ran unity i only have open a few browser screens. refer slowing my HDD in task like opening programs, and booting windows
Alright, firstly I would recommend you get a backup drive and start to back your work up, and anything important to you.
Secondly, I would recommend running windows defrag after.
Unity does read and write a lot of files all the time - whenever you do anything with serialization (which is most of the actions in the editor) it will write a tiny file or read from one.
This is pretty normal for any version of Unity, but it can over a year or more create fragmentation. I am not convinced it’s necessarily a Unity problem but Unity is exposing that problem overall for your system.
But to be safe I think we can agree it’s time to back up your work to keep it secure from any hard drive failures or other issues. Typically when computers start getting slow and glitchy, it’s definitely a good time to back up.
Once that’s done you can defrag and see if it helps matters.
The computer you’re using is fairly lightweight - it can’t really do heavy development but for 2D it seems fine. However it does not take much effort for it to degrade in performance over time.
ok thanks i already try with windows defrag, and i have backups.
and also im new programing, what is serialization?
It’s a process of saving and loading live data from the disk. For example you might have a public variable on a component? This is serialized by default, meaning if you change it, it will be written to disk and remember that value for you when you save normally, and whenever you enter playmode.
When you enter playmode for example, Unity actually saves a copy of the scene and does various serialization activities so that your data is safe.
so when i enter playmode the serialization its automatic?