Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
1.1.14
Issue ID
1243733
Regression
No
Running tests in the player with TestRunCallback attribute and Stripping Level set to Medium/High throws an ArgumentException
How to reproduce:
1. Open the attached "New Unity Project (2).zip" project
2. Open the Test Runner window
3. Press Run all in player
4. Observe the player
Expected result: "All test(s) succeeded" message is shown in the player
Actual result: "ArgumentException: Type TestRunCallbackAttrbiute does not implement ITestRunCallback" error message is thrown in the player
Reproducible with: 1.1.14 (2019.4.3f1, 2020.1.0b15, 2020.2.0a17)
Could not test with: 2018.4.24f1 (TestRunCallback attribute not available)
Notes:
- Running tests with "Scripting Backend" property set to Mono and "Managed Stripping Level" property set to Disabled or Low results in all tests passing
- Running tests with "Scripting Backend" property set to IL2CPP and "Managed Stripping Level" property set to Low results in all tests passing
- Running tests with "Scripting Backend" property set to Mono or IL2CPP and "Managed Stripping Level" set to Medium or High results in an error message "ArgumentException: Type TestRunCallbackAttrbiute does not implement ITestRunCallback" being thrown
- Running tests on Windows or Mac player produces the same results (If the build fails on Mac, update the Newtonsoft Json to 2.0.0 in the Package Manager)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Multiple exceptions are thrown after exiting Play mode when Layout Group component is displayed in Debug Inspector and Padding section is expanded
- ScrollView elements are not restored to their original positions after removing a Layout Group with Undo action
- "Assembly with name already exists" errors are thrown when two packages with different technical names resolve to the same namespace
- A Select Scene Entry is added to Undo History when Deleting while a Scene is selected in the Hierarchy
- The Add Component Menu's back arrow accumulates phantom levels when the Menu is repeatedly opened into a Category and closed without selecting
Add comment