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
- Crash on GizmoDrawingPhysics2D::DrawCompositeCollider2DGizmo when opening a Scene that has corrupted GameObjects with Tilemap Components
- Scrolling vertically and horizontally is very fast when in Play Mode and RuntimeInputBackend is set to UIToolkitInputBackendOption.Default
- Crash on MemoryProfiler::UnregisterAllocation when initializing entities and leaving Play Mode with Occlusion Culling enabled
- Crash on mdb_page_alloc when opening a project that was running while the PC shut down
- macOS Player freeze when using RunInBackground and Command+Tabbing to and from the application
Add comment