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
- 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