Search Issue Tracker
Fixed in 4.5.X
Votes
0
Found in
4.3.0b5
Issue ID
569426
Regression
No
Can add script that requires component that is conflicting with object's existing components
1. Create object.
2. Add Rigidbody2D to the object
3. Create script like this:
[RequireComponent(typeof(Rigidbody))]
public class A : MonoBehaviour {}
4. Add it to the object.
You'll get error
"Can't add component 'Rigidbody' to Sphere because it conflicts with the existing 'Rigidbody2D' derived component!"
But component A will be still added to the object
You can do the same from a script. You can see it using AddA.cs script
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
unity_K99WJS2TxGpRtA
Jul 24, 2020 16:33
This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information...
máy triệt lông vĩnh viễn ipl https://lookbook.nu/user/7729318-Osakacoss
pyjehefy
Jul 11, 2020 12:19
I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well..
homepage https://www.google.am/url?q=https://erintolephotography.com
pyjehefy
Jul 08, 2020 14:13
I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well..
mental träning sport https://buyandsellhair.com/author/hypnosterapin/
pyjehefy
Jul 06, 2020 14:23
I really thank you for the valuable info on this great subject and look forward to more great posts. Thanks a lot for enjoying this beauty article with me. I am appreciating it very much! Looking forward to another great article. Good luck to the author! All the best!
have a peek at this web-site https://www.google.es/url?q=http://bocaratonbitcoin.com
pyjehefy
Jul 05, 2020 15:09
Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts.
go now https://maps.google.tk/url?q=https://www.supermensagens.com.br/
pyjehefy
Jul 05, 2020 10:57
i read a lot of stuff and i found that the way of writing to clearifing that exactly want to say was very good so i am impressed and ilike to come again in future..
San Diego California http://www.topcitysearches.com/
pyjehefy
Jul 04, 2020 19:32
I really loved reading your blog. It was very well authored and easy to understand. Unlike other blogs I have read which are really not that good.Thanks alot!
going here https://maps.google.gp/url?q=https://gemsandjewelsforless.com/
pyjehefy
Jul 03, 2020 19:56
This type of message always inspiring and I prefer to read quality content, so happy to find good place to many here in the post, the writing is just great, thanks for the post.
click here for more info https://maps.google.gp/url?q=https://merpessentials.com/
johndd110
Jun 29, 2020 10:32
Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!
check these guys out https://images.google.com.qa/url?q=https://cglawms.com
johndd110
Jun 28, 2020 21:37
Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!THANKS!!!!!!
local dental care https://www.northstardentistryidaho.com/services/