Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
2.0.1-pre.18
Issue ID
DSTR-488
Regression
No
"Inconsistent filename and yield return operator in target method" warning when pressing "Open source code" on PlayMode test
Reproduction steps:
1. Open attached project "tests.zip"
2. In Test Runner window, select _01_GenericPlayModeTests -> _01_Clear_Console
3. Right-click the selected test and press "Open source code"
4. Observe Console window and External Script Editor
Expected result: No warnings, source code is opened in External Script Editor
Actual result: "Failed to open test method source code in external editor. Inconsistent filename and yield return operator in target method." warning, External Script Editor isn't opened at all
Reproducible with: 2.0.1-pre.18 (2019.4.38f1, 2020.3.34f1, 2021.1.0a8)
Not reproducible with: 2.0.1-pre.18 (2021.1.0a9, 2021.3.2f1, 2022.1.1f1, 2022.2.0a13)
Reproducible on: Windows 10
Note:
Issue does not reproduce with analogous EditMode tests, e.g. _01_GenericEditModeTests -> _01_Clear_Console
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on ScriptableBatchRenderer::GenerateBuiltInCBuffer when opening a project after adding HDRP Samples to a specific project
- ArgumentException is thrown and reference is missing when deserializing and using MultiColumnListView
- “You may not pass in objects that are already persistent” error is thrown when entering the Play Mode and the "Active Input Handling" system was changed in a custom Build Profile
- [Linux] Assertion failed on expression 'success && actual == size' error is thrown when building project to another partition with a different file system
- Import Activity window shows "(None)" in the Asset field when changing the path of the asset
Resolution Note:
This will not be fixed since the issue only occurs in older unity versions combined with the 2.0 version of UTF (which has been pulled from preview and is now experimental).