Problem When assembling parts
When I try to open the assembly the parts I edited ( rack and pinion form the library) get back to their default states
And I noticed that when I keep the parts open simultaneously with the assembly it doesn't go back to default
Because you are using library files, it has specifications when saving the file name.
When you design the model, change the file name, then save it
I hope your problem is solved