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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Add comment