Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.3.0b1
Issue ID
1078243
Regression
No
[UnityTest] Playmode tests halt when calling test with [Repeat(10)] attribute
How to reproduce:
1. Download project from the link to the cloud and open it
2. Open Test Runner (Windows -> General -> Test Runner)
3. Select "PlayMode" inside of Test Runner
4. Click "Run All"
Expected result: testing will be completed
Actual result: after testing PressAndHoldRangedAttack_FireRepeatedly you receive an error and testing halts
Error: InvalidCastException: Specified cast is not valid.
Reproducible with: 2018.1.9f2, 2018.2.7f1, 2018.3.0b1
Could not reproduce with: 2017.4.9f2 (package manager error)
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
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
- Rendering Debugger Playmode debug UI scrolling is jittery when using click and drag to scroll
- Frame Debugger Target Selection Search Results window becomes too tiny to even see the default “Editor” selection when there are no search results
- Async method in Play Mode being aborted when calling `new System.Windows.Forms.Form`
- Animator window Eye button on click visual does not cover the whole area of the button when clicked
Resolution Note:
NUnit [Repeat] attribute does not work with [UnityTest]. We'll add it to a list of [UnityTest] related limitations