Search Issue Tracker
Fixed in 2017.1.X
Votes
1
Found in
4.3.0b5
Issue ID
569427
Regression
No
No errors if RequireComponent attribute applied to component after it was added to an object
Steps:
1. Create an object.
2. Create custom component A
3. Add A to the object
4. Edit component A that it now requires e.g. Rigidbody
[RequireComponent(typeof(Rigidbody))]
public class A : MonoBehaviour {}
5. Play scene
There will be no errors.
Should throw exception or give warning in console.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
Add comment