Search Issue Tracker
Won't Fix
Votes
1
Found in [Package]
1.4.2
1.4.3
Issue ID
DSTR-1022
Regression
No
Inconsistency between Exported Results and Test Runner Window when using Unity Test Framework
Reproduction steps:
1. Open the attached “TaskTestsInternalException.zip” project
2. Open the “Test Runner” Window (Window > General > Test Runner)
3. Select “NonYieldingTaskTestsFailedInXmlReport (2 tests)”
4. Click “Run Selected”
5. Observe the green checkboxes next to the tests
6. Click “Export Results” and save them
7. Open the results and observe the messages
Expected result: Test Runner GUI results match the export results, no failure messages are shown
Actual result: Failure message is visible in the Exported Results
Reproducible with: 1.4.2 (2021.3.35f1, 2022.3.19f1, 2023.2.10f1, 2023.3.0b7), 1.4.3 (2021.3.35f1, 2022.3.19f1, 2023.2.10f1, 2023.3.0b7)
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Notes:
- A possible workaround is to yield at least one frame/update at the start of every async test or use other async mechanisms e.g. IEnumerator
- Full failure message in the exported results: “<failure><message><![CDATA[System.InvalidOperationException : EditMode test can only yield null]]></message><stack-trace><![CDATA[]]></stack-trace></failure>”
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
- "Shader warning in 'Hidden/HDRP/DownsampleDepth'" warnings are thrown after building a project
- Scene is not rendered and appears black when the Custom Renderer Feature is utilized
- The Context Menu is not updated in the Shortcuts menu when resolving a Binding Conflict
- [Quest] Foveation Level is 0 when SRP Foveation is enabled
- Freeze when displaying text with "-T" in Play mode
Resolution Note:
There are no fixes planned for this Bug