Search Issue Tracker
Fixed in 2018.1.X
Fixed in 5.6.X, 2017.1.X, 2017.2.X, 2017.3.X
Votes
8
Found in
2017.2.0b4
Issue ID
933679
Regression
Yes
BuildPipelineInterfaces causes slow EnterPlaymode performance when there are many cs files in the project
Reproduction Steps:
1. Import attached project.
2. Create new scene.
3. In Profiler, select Record and Profile Editor.
4. Enter Play mode.
5. Stop recording in Profiler.
6. In Profiler Overview, find:
EnterPlaymode -> Application.WaitForAsyncOperationToComplete -> Preload Single Step -> Application.LoadLevelAsync Integrate -> BuildPipelineIntefaces.InitializeBuildCallbacks()
7. Observe Time ms.
Expected result: BuildPipelineIntefaces.InitializeBuildCallbacks() should not make a new scene this slow.
Actual result: BuildPipelineIntefaces.InitializeBuildCallbacks() slows down Play mode. Time ms becomes much shorter only when all cs files are deleted.
Reproducible with: 5.6.2p3, 2017.1.0p1, 2017.2.0b3, 2017.3.0a1
Not reproducible with: 5.5.4f1
---------------------------------------------------
Already fixed in: 2018.1.0b10, 2017.2.0p1, 2017.1.2p2. Fixes on other versions will appear a little later
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][Mobile Notifications] The Player freezes or crashes when calling "AndroidNotificationCenter.GetNotificationChannel" every frame
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
Peter77
Oct 26, 2017 06:26
Related 2017.3 beta thread:
https://forum.unity.com/threads/case-933679-buildpipelineinterfaces-causes-slow-enterplaymode-performance-continuation.501832/
Peter77
Sep 22, 2017 13:23
Here is the related forum thread:
https://forum.unity.com/threads/case-933679-buildpipelineinterfaces-causes-slow-enterplaymode-performance.484482/