Can't build project - UnityEngine.Rendering.DebugActionDesc’ has an extra field ‘axisTrigger’

Unity version 6000.0.29f1

Type ‘[Unity.RenderPipelines.Core.Runtime]UnityEngine.Rendering.DebugActionDesc’ has an extra field ‘axisTrigger’ of type ‘System.String’ in the player and thus can’t be serialized (expected ‘repeatMode’ of type ‘UnityEngine.Rendering.DebugActionRepeatMode’)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun ()

Fields serialized in Editor, class ‘UnityEngine.Rendering.DebugActionDesc’
‘buttonAction’ of type ‘UnityEngine.InputSystem.InputAction’
‘repeatMode’ of type ‘UnityEngine.Rendering.DebugActionRepeatMode’
‘repeatDelay’ of type ‘System.Single’

UnityEditor.BuildPlayerWindow:BuildPlayerAndRun ()

Error building player because script class layout is incompatible between the editor and the player.

Build completed with a result of ‘Failed’ in 3 seconds (3117 ms)
4 errors
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun ()

2 Likes