Search Issue Tracker

Fixed in 2019.1

Fixed in 2018.3

Votes

0

Found in

2019.1.0a11

Issue ID

1105087

Regression

Yes

NullReferenceException error appears after running tests from the Test Runner window after running tests in Player

Unity Test Runner

-

Steps to reproduce:
1. Open attached Unity project
2. Open Test Runner window
3. Press 'Run all in player'
4. After tests are ran in player, double click on a test in Test Runner window to run it

Expected results: No errors appear
Actual results: A NullReferenceException error appears

Reproducible with: 2019.1.0a11
Not reproducible with: 2019.1.0a10

Full error:
NullReferenceException: Object reference not set to an instance of an objectUnityEditor.TestTools.TestRunner.GUI.TestListGUI.TestSelectionCallback (System.Int32[] selected) (at C:/buildslave/unity/build/Extensions/TestRunner/UnityEditor.TestRunner/GUI/Views/TestListGUIBase.cs:236)UnityEditor.TestTools.TestRunner.TestRunnerWindow.OnPlayModeStateChanged (PlayModeStateChange state) (at C:/buildslave/unity/build/Extensions/TestRunner/UnityEditor.TestRunner/TestRunnerWindow.cs:95)UnityEditor.EditorApplication.Internal_PlayModeStateChanged (PlayModeStateChange state) (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:302)

Comments (1)

  1. 1af0b55ebb5e573a2c845f838ff69fd0?d=mm

    samvermeirVRT

    Jul 17, 2019 12:31

    I'm using 2018.3.11f and I have the same error. it is not blocking or anything but it is an error that could be resolved, although i have no idea how...

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.