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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment