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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.