Search Issue Tracker
Won't Fix
Won't Fix in 1.3.X
Votes
0
Found in [Package]
1.3.9
Issue ID
DSTR-932
Regression
Yes
TestContext platform parameter is empty if domain reload happens during test run
Steps to reproduce:
- Open attached project "test-platform-repro.zip"
- Open test runner
- Run Editmode tests
Actual result: In console notice log: Reported test platform after assembly reload is: ''
Expected result: Reported test platform after assembly reload is: 'EditMode'
Reproduced with: 1.3.9
Not reproducible: 1.1.33
Tested on 2021.3.29f1
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
- URP Samples have an empty "VolumeProfiles" folder
- URP Samples have a broken "FirstPersonsPlayer" Prefab
- Remote Config file throws ArgumentNullReference exceptions in the Console and does not render in Inspector
- Multiple errors are thrown and file does not parse when saving after removing a duplicate UI Document instance from the hierarchy
- Custom Inspector throws a NullReferenceException error even when using #if UNITY_EDITOR preprocessor directive
Resolution Note:
There are no fixes planned for this Bug
Resolution Note (1.3.X):
It is not possible to build the test tree before AssemblyReloadEvents.afterAssemblyReload without it regressing the ConditionalIgnore functionality of UTF, as that relies on InitializeOnLoad being executed before the test tree is build. Both of these editor callbacks are executed at the same editor frame, so having both is not possible.