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

Assets Management

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.