Skip to content

Add back UNITY_EDITOR guards to Editor code

9c3e951
Select commit
Loading
Failed to load commit list.
Open

CHANGE: Split Runtime and Editor code into separate folders to prepare for Module migration #2321

Add back UNITY_EDITOR guards to Editor code
9c3e951
Select commit
Loading
Failed to load commit list.
Codecov GitHub.com / codecov/project succeeded Apr 2, 2026 in 1s

64.14% (-13.78%) compared to 0bb75c4

View this Pull Request on Codecov

64.14% (-13.78%) compared to 0bb75c4

Details

Codecov Report

Attention: Patch coverage is 49.21764% with 357 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...InputSystem/Editor/InputSystemEditorInitializer.cs 69.11% 101 Missing ⚠️
.../Actions/Interactions/MultiTapInteractionEditor.cs 0.00% 31 Missing ⚠️
...tem/Editor/Plugins/OnScreen/OnScreenStickEditor.cs 33.33% 30 Missing ⚠️
...tor/Actions/Interactions/PressInteractionEditor.cs 0.00% 26 Missing ⚠️
...Controls/Processors/AxisDeadzoneProcessorEditor.cs 0.00% 19 Missing ⚠️
...ontrols/Processors/StickDeadzoneProcessorEditor.cs 0.00% 19 Missing ⚠️
...r/Actions/Interactions/SlowTapInteractionEditor.cs 0.00% 18 Missing ⚠️
...ditor/Actions/Interactions/TapInteractionEditor.cs 0.00% 18 Missing ⚠️
...itor/Actions/Interactions/HoldInteractionEditor.cs 0.00% 17 Missing ⚠️
...m/Editor/Actions/Composites/AxisCompositeEditor.cs 0.00% 15 Missing ⚠️
... and 12 more
@@             Coverage Diff              @@
##           develop    #2321       +/-   ##
============================================
- Coverage    77.92%   64.14%   -13.78%     
============================================
  Files          482      985      +503     
  Lines        97755   173286    +75531     
============================================
+ Hits         76175   111154    +34979     
- Misses       21580    62132    +40552     
Files with missing lines Coverage Δ
Assets/Tests/InputSystem/APIVerificationTests.cs 89.78% <100.00%> (-0.30%) ⬇️
Assets/Tests/InputSystem/CoreTests_Editor.cs 97.95% <100.00%> (+<0.01%) ⬆️
.../Tests/InputSystem/CoreTests_ProjectWideActions.cs 72.05% <100.00%> (ø)
Assets/Tests/InputSystem/CoreTests_Remoting.cs 92.65% <100.00%> (-0.06%) ⬇️
...sets/Tests/InputSystem/Plugins/UnityRemoteTests.cs 97.45% <100.00%> (+0.08%) ⬆️
...evices/Remote/RemoteInputPlayerConnectionEditor.cs 100.00% <100.00%> (ø)
...stem/InputSystem/Editor/InputSystemStateManager.cs 100.00% <ø> (ø)
...utSystem/Editor/Plugins/HID/HIDDescriptorWindow.cs 0.00% <ø> (ø)
...tor/Plugins/InputForUI/InputActionAssetVerifier.cs 75.00% <ø> (ø)
...em/Editor/Plugins/PlayerInput/PlayerInputEditor.cs 8.16% <ø> (ø)
... and 116 more

... and 443 files with indirect coverage changes

ℹ️ Need help interpreting these results?