Search Issue Tracker
By Design
Votes
0
Found in
5.5.0f3
Issue ID
857119
Regression
No
Instantiating an object with a Missing Script component attached takes heavy CPU time
Steps to reproduce:
1. Download and open the latest attached project ("case_857119_Stripped.zip")
2. Open the Profiler window
3. Enter Play Mode
4. Press Right Mouse Button to Instantiate objects
5. Observe profiler
Expected result: no real performance impact
Actual result: time to instantiate said object is ~8-10 ms
Reproduced on 5.2.3f1. 5.3.7p2, 5.4.3p1, 5.5.0f3, 5.5.0p1, 5.6.0a5
Notes:
-simply adding a script to a prefab and deleting the script from the project results in a prefab which reproduces the bug
-this can be "fixed" by removing the Missing Script component off the prefab(in this case "projectile"), or adding a working script
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Single click calls UI Element renaming with a delay when clicked on the UI Element name
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
Add comment