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
- Incorrect color values are saved for Swatches when using HDR Color Picker
- Editor crashes when adding/removing a UI Document Style Sheet while in Play mode
- Scene and Game views turn black when all light sources are disabled
- Memory spike after activating Freeform Light2Ds
- Line Renderer Component elements do not fit in the Inspector window when minimising Inspector window is minimised
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).