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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Add comment