Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.3
2019.3.6f1
2020.1
2020.2
Issue ID
1233494
Regression
No
Command line testing in batchmode with legacy -runEditorTests is not equivalent to -runTests -testPlatform EditMode
How to reproduce:
1. Download tester-submitted project (MainProject.zip)
2. Make sure the Library folder is not present in the root project folder
3. Run Unity via Terminal with the following arguments: -runTests -testPlatform EditMode -batchmode -projectPath <path> -logFile <path>
4. Execute 'echo $?' - note that it returns 1; note that test results xml is not generated
5. Remove the Library folder from the project's root folder
6. Run Unity via Terminal with the following arguments: -runEditorTests -batchmode -projectPath <path> -logFile <path>
7. Execute 'echo $?' - note that it returns 0; note that test results xml is generated
Expected result: -runTests -testPlatform EditMode is equivalent to -runEditorTests
Actual result: -runTests -testPlatform EditMode works different from -runEditorTests
Reproducible with: 2019.3.0b9, 2019.3.9f1, 2020.1.0b4, 2020.2.0a5
Could not test with: 2017.4.39f1, 2018.4.20f1, 2019.3.0b8(packages necessary for showcasing the issue incompatible)
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Issue due to version conflicts between Entities and Data Flow Graph packages. Resolved by using compatible versions.