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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
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).