Search Issue Tracker
Fixed
Votes
0
Found in
5.0.1f1
Issue ID
695558
Regression
No
RequireComponent of type Collider2D crashes unity on component paste
Script with RequireComponent(typeof(Collider2D)) crashes Unity when is pasted from one GameObject to another GameObject without 2D collider.
Steps to reproduce:
1. Open attached project "case 695558.zip".
2. Open scene "Repro".
3. Copy Component "CopyPasteThisToCrash" script from GameObject "CopyFrom".
4. Paste Component As New to "PasteTo" GameObject.
5. Unity crashes.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- No Icons are used for the Entry and Exit States in the Inspector when selected in an Animator Controller
- Crash on PlayerMain(int, char const**) when exiting Standalone Player with a Particle System in the Scene
- No Icon is used for the Runtime Animator Controller Type in a Search Window when assigning an Animator Controller in the Animator Component
- Unity Version Control server textfield’s text overlaps with the dropdown triangle button in the Explore repositories window when an organization with a long name is selected
- [Usability] Selecting Animations Clips in a Blend Tree's Motion List does not Visualize their Weight if all Weights have been enabled previously
Add comment