Search Issue Tracker
Fixed in 2019.3.X
Votes
0
Found in
2019.3
2019.3.0a12
2020.1.0a1
Issue ID
1183682
Regression
Yes
[Mono] [Coverage] crash on mono_profiler_get_coverage_data when calling Coverage.GetStatsFor()
How to reproduce:
1. Open the "mono_profiler_coverage_crash.zip" project
2. Enable Code Coverage (Preferences > General > Enable Code Coverage)
3. Restart Unity
4. Open Test Runner (Window > Test Runner)
5. Run the "EditorTests > Tests > GetCoverageStats_ForMethod_DoesNotCrash_FAILS" test
Actual Result: Unity crashes.
Reproducible in: 2020.1.0a4, 2019.3.0b3, 2019.3.0a12.
Regression introduced in: 2019.3.0a12.
Not reproducible in: 2019.3.0a11, 2019.2.6f1.
Notes:
- 'mono_profiler_get_coverage_data' fails on certain methods with 'Method has zero rva assembly:UnityEditor type:<unknown type> member:(null) signature:<none>'.
- It might be connected with the [RequiredSignature] attribute. See the attached test case for a list of all methods that fail.
- Coverage doesn't exist in Unity 2019.1 and lower.
-------------------
Fixed in 2020.1.0a8, 2019.3.0b9.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
Add comment