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
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
Add comment