Search Issue Tracker
Fixed in 12.0.0 (requested backport for 11 and 10)
Votes
0
Found in [Package]
10.3.1
Issue ID
1311108
Regression
No
HDAdditionalCameraData.OnEnabled() adds 2.6 seconds to Domain Reload every time a C# file is changed.
Using the parent case as a repro project, modifying a C# file will causing a domain reload, and out of that time 2-2.6s are spent inside of HDAdditionalCameraData.OnEnabled()
After deep profiling the issue, the code for InputRegistering.cs seems to be doing the bulk of the work, where calls to SerializedProperty.GetArrayElementAtIndex end up taking 2.6 seconds
Reproducible on Unity 2020.1.15f1:
1. Download project from here: https://drive.google.com/file/d/1O83GjyevXNPhSWlXtWTLJ96aU8A-Hmd1/view?usp=sharing and open it
2. Make a single C# change and profile
3. Notice that HDAdditionalCameraData.OnEnabled() takes at least 2 seconds
Note: I've attached screenshots of the profiler as well.
Relevant slack discussion: https://unity.slack.com/archives/C20E70CAC/p1611926333075400
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
Add comment