Search Issue Tracker

Active

Under Consideration for 1.0.X, 1.1.X, 1.2.X

Votes

0

Found in [Package]

1.0.0

1.1.1

Issue ID

COV-4

Regression

No

[Code Coverage] Editor crashes while processing class when extern method doesn't have DllImport attribute

Package: Code Coverage

-

Steps to reproduce:

1. Open attached project
2. Open Code Coverage window
3. Start and stop recording
- Editor crashes

Note: Add missing \[DllImport] attribute to fix this crash, or try adding \[ExcludeFromCoverage] on the last class that was being processed by code coverage package when the crash happened (you can find class name in Editor.log)

Reproduced with: 2019.4.8f1, 2021.2.0a19
Package: 1.0.0, 1.1.0

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.