Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
5.0.0a5
Issue ID
601782
Regression
No
Initial .prefab file is smaller before project is saved
To reproduce:
1. Create a new project
2. Add a cube to scene
3. Drag the cube to the project window, making it a prefab
4. Open up the asset folder of the project, note the size of the prefab file
5. Save the project - note that the size increased (in my project from 5 to 9kb)
Explanation:
Unity delays the saving of changes to certain point, like "Save Scene" or "Save Project" and a few others.
Our internal version control integration does take this into account when detecting if files are modified or when you submit files, but if you are using external version control you have make sure the project is saved before you submit the files.
Just for comparison this is also true for Visual Studio. You can create a new file and disk and it will be empty. Then you can modify it in visual studio but if you try to submit the file before saving it, the submitted file will be empty. Unless you use a version control plugin in visual studio
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Add comment