Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

0

Found in

4.3.0b5

Issue ID

568896

Regression

No

[RequireComponent(typeof( <any abstract class>))] gives no warnings

Scripting

-

[RequireComponent(typeof( <any abstract class>))] gives no warnings

2) How can we reproduce it using the example you attached

1 Create new project
2 Create cube
3 Create script A it should RequireComponent A and
[RequireComponent(typeof(Collider))]
or [RequireComponent(typeof( <any abstract class>))]
or [RequireComponent(typeof( int))]
or [RequireComponent(typeof(IEnumerator))]
or [RequireComponent(null)]
4 Add it to cube
5 Press Play - no any errors or warnings

Expected to throw some warning

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.