Search Issue Tracker

Fixed in 2019.1.X

Votes

0

Found in

2017.1.1f1

Issue ID

959136

Regression

No

Trying to add two same script components with [DisallowMultipleComponent] via test causes Unity to crash

Themes

-

How to reproduce:
1. Open the attached project
2. Open the Test Runner
3. Start the "CantAddMoreThanOne" test

Actual result: Unity crashes.

Reproducible with: 5.6.4f1, 2017.1.2p1, 2017.2.0f3, 2017.3.0b5, 2018.1.0a1.

Note: If the test is outside of namespace "Tests" the Unity doesn't crash.

-------------------------------------
Fixed in: 2019.1.0a9.

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.