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
- Undo and redo does not update color field pop-up window after undoing other events outside the pop-up window
- Warning prompt with "Apply (Overwrite Files)" Button is not available when associated template is moved
- Scrollbar in "My Assets" detail window appears compressed/cut off
- Crash on object:runtime_invoke_void__this__ when opening a specific project
- Circle-shaped rendering artefacts visible in Local Volumetric Fog boundaries box in Scene view when Fog Distance is lower than 1
Add comment