Search Issue Tracker

Fixed in Unity 2019.1

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

Editor - Other

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 1Crash, freeze, data loss, work stops

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.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.