Search Issue Tracker


Won't Fix in 2.0.X

Under Consideration for 1.3.X



Found in [Package]



Issue ID




Crash on UnityEngine.InputSystem.Utilities.MemoryHelpers:ReadSingleBit when running Test Runner tests a few times when there are null reference exceptions

Package: Test-Framework


Reproduction steps:
1. Open the attached project “TestCrash”
2. In the Test Runner Window press Run All
3. Repeat 2nd step until the Editor crashes (usually takes about 3 times)

Expected result: Tests are executed
Actual result: Editor crashes

Reproducible with: 1.3.2, 2.0.1-pre.18 (2021.3.17f1, 2022.2.4f1)

Reproducible on: MacOS Ventura 13.1 (M1 Max and Intel)
Not reproducible on: Windows 10

Could not test with: 2020.3.44f1 (Script errors: Assets/Scripts/Generator/RoomGenerator.cs(14,17): error CS1526: A new expression requires (), [], or {} after type), 2023.1.0b1 (Library/PackageCache/com.unity.test-framework@2.0.1-pre.18/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/XboxOnePlatformSetup.cs(5,17): error CS0619: 'XboxOneDeployMethod' is obsolete: 'The XDK Xbox One platform was removed in 2021.1')

First lines of stack trace:
#0 0x000002fd12d9c4 in UnityEngine.InputSystem.Utilities.MemoryHelpers:ReadSingleBit (void*,uint) [{0x2dda1ebe8} + 0x144] [./Library/PackageCache/com.unity.inputsystem@1.4.4/InputSystem/Utilities/MemoryHelpers.cs :: 70u] (0x2fd12d880 0x2fd12da44) [0x12d782a80 - Unity Child Domain]
#1 0x000002fd12c3fc in UnityEngine.InputSystem.LowLevel.InputStateBlock:ReadFloat (void*) [{0x2dda1eba8} + 0x474] [./Library/PackageCache/com.unity.inputsystem@1.4.4/InputSystem/State/InputStateBlock.cs :: 362u] (0x2fd12bf88 0x2fd12d3ac) [0x12d782a80 - Unity Child Domain]
#2 0x000002fd12be00 in UnityEngine.InputSystem.Controls.AxisControl:ReadUnprocessedValueFromState (void*) [{0x15e3a2360} + 0x138] [./Library/PackageCache/com.unity.inputsystem@1.4.4/InputSystem/Controls/AxisControl.cs :: 237u] (0x2fd12bcc8 0x2fd12bed4) [0x12d782a80 - Unity Child Domain]
#3 0x000002fd12bbb0 in UnityEngine.InputSystem.InputControl{{1<single>:ReadValueFromState (void*) [{0x600008d276c0} + 0x190] [./Library/PackageCache/com.unity.inputsystem@1.4.4/InputSystem/Controls/InputControl.cs :: 1047u] (0x2fd12ba20 0x2fd12bc44) [0x12d782a80 - Unity Child Domain] #4 0x000002fd12b94c in UnityEngine.InputSystem.InputControl}}1<single>:ReadValue () [{0x600008d25680} + 0x10c] [./Library/PackageCache/com.unity.inputsystem@1.4.4/InputSystem/Controls/InputControl.cs :: 1009u] (0x2fd12b840 0x2fd12b9bc) [0x12d782a80 - Unity Child Domain]

  1. Resolution Note (2.0.X):

    Won't do any 2.0 fixes, 2.0 is never going to be released

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.