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
- Graphics.RenderMeshIndirect does not issue multi-draw rendering commands when using a graphics API capable of multi-draw commands
- Error "InvalidOperationException: An error occured while deserializing asset reference" is thrown when deserializing a BlackboardVariable that is a dynamically loaded monobehavior
- Removing a Camera Component from a Physics 2D Raycaster GameObject brings pop-up message twice
- UnityYAMLMerge does not open fallback merge tool when encountering merge conflicts
- Editor crash when resetting Quality settings after adding "New Group" in Mipmap Limit Groups
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).