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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
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).