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
- Hovering on the Particle System Controls shows an offset tooltip with the overlay window name
- Inconsistent UI hover colour with poor contrast in VFX Graph window
- Lights with Cookies generate Cookie Atlas and increase Memory usage every time when Play mode is entered
- Crash on mono_traverse_object_internal when exiting Play mode on a specific project
- Camera prefab shows up in overrides after upgrade when game view is changed to Simulator
Add comment