Search Unity

Bug HDRP 10.1 & Input System 1.0 CompositeSyntax.With(string,string,string)

Discussion in 'High Definition Render Pipeline' started by _slash_, Nov 13, 2020.

  1. _slash_

    _slash_

    Joined:
    Mar 26, 2013
    Posts:
    37
    Hi,

    Updating to HDRP 10.1 resulted in the following error:

    NullReferenceException: Object reference not set to an instance of an object
    UnityEngine.InputSystem.Utilities.TypeTable.LookupTypeRegistration (System.String name) (at Library/PackageCache/com.unity.inputsystem@1.0.0/InputSystem/Utilities/TypeTable.cs:69)

    upload_2020-11-13_19-7-30.png

    The full output:

    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. UnityEngine.InputSystem.Utilities.TypeTable.LookupTypeRegistration (System.String name) (at Library/PackageCache/com.unity.inputsystem@1.0.0/InputSystem/Utilities/TypeTable.cs:69)
    3. UnityEngine.InputSystem.InputBindingResolver.InstantiateBindingComposite (System.String nameAndParameters) (at Library/PackageCache/com.unity.inputsystem@1.0.0/InputSystem/Actions/InputBindingResolver.cs:629)
    4. UnityEngine.InputSystem.InputBindingResolver.AddActionMap (UnityEngine.InputSystem.InputActionMap map) (at Library/PackageCache/com.unity.inputsystem@1.0.0/InputSystem/Actions/InputBindingResolver.cs:555)
    5. UnityEngine.InputSystem.InputActionMap.ResolveBindings () (at Library/PackageCache/com.unity.inputsystem@1.0.0/InputSystem/Actions/InputActionMap.cs:1110)
    6. UnityEngine.InputSystem.InputActionMap.ResolveBindingsIfNecessary () (at Library/PackageCache/com.unity.inputsystem@1.0.0/InputSystem/Actions/InputActionMap.cs:1016)
    7. UnityEngine.InputSystem.InputAction.Enable () (at Library/PackageCache/com.unity.inputsystem@1.0.0/InputSystem/Actions/InputAction.cs:809)
    8. UnityEngine.Rendering.DebugManager.RegisterActions () (at Library/PackageCache/com.unity.render-pipelines.core@10.1.0/Runtime/Debugging/DebugManager.Actions.cs:146)
    9. UnityEngine.Rendering.DebugManager..ctor () (at Library/PackageCache/com.unity.render-pipelines.core@10.1.0/Runtime/Debugging/DebugManager.cs:137)
    10. UnityEngine.Rendering.DebugManager+<>c.<.cctor>b__70_0 () (at Library/PackageCache/com.unity.render-pipelines.core@10.1.0/Runtime/Debugging/DebugManager.cs:28)
    11. System.Lazy`1[T].CreateValue () (at <9577ac7a62ef43179789031239ba8798>:0)
    12. --- End of stack trace from previous location where exception was thrown ---
    13. System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <9577ac7a62ef43179789031239ba8798>:0)
    14. System.Lazy`1[T].get_Value () (at <9577ac7a62ef43179789031239ba8798>:0)
    15. UnityEngine.Rendering.DebugManager.get_instance () (at Library/PackageCache/com.unity.render-pipelines.core@10.1.0/Runtime/Debugging/DebugManager.cs:32)
    16. UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraphDebugParams.RegisterDebug (System.String name) (at Library/PackageCache/com.unity.render-pipelines.core@10.1.0/Runtime/RenderGraph/RenderGraph.cs:86)
    17. UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph..ctor (System.String name) (at Library/PackageCache/com.unity.render-pipelines.core@10.1.0/Runtime/RenderGraph/RenderGraph.cs:255)
    18. UnityEngine.Rendering.HighDefinition.HDRenderPipeline..ctor (UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset asset, UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset defaultAsset) (at Library/PackageCache/com.unity.render-pipelines.high-definition@10.1.0/Runtime/RenderPipeline/HDRenderPipeline.cs:352)
    19. UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset.CreatePipeline () (at Library/PackageCache/com.unity.render-pipelines.high-definition@10.1.0/Runtime/RenderPipeline/HDRenderPipelineAsset.cs:44)
    20. UnityEngine.Rendering.RenderPipelineAsset.InternalCreatePipeline () (at /Users/bokken/buildslave/unity/build/Runtime/Export/RenderPipeline/RenderPipelineAsset.cs:10)
    21. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
    22.  



    So I tried to update to Input System 1.1.0-preview.2 which resulted in the following error:

    upload_2020-11-13_19-0-24.png

    Code (CSharp):
    1. MissingMethodException: UnityEngine.InputSystem.InputActionSetupExtensions/CompositeSyntax UnityEngine.InputSystem.InputActionSetupExtensions/CompositeSyntax.With(string,string,string)
    2. UnityEngine.Rendering.DebugManager..ctor () (at Library/PackageCache/com.unity.render-pipelines.core@10.1.0/Runtime/Debugging/DebugManager.cs:136)
    3. UnityEngine.Rendering.DebugManager+<>c.<.cctor>b__70_0 () (at Library/PackageCache/com.unity.render-pipelines.core@10.1.0/Runtime/Debugging/DebugManager.cs:28)
    4. System.Lazy`1[T].CreateValue () (at <9577ac7a62ef43179789031239ba8798>:0)
    5. --- End of stack trace from previous location where exception was thrown ---
    6. System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <9577ac7a62ef43179789031239ba8798>:0)
    7. System.Lazy`1[T].get_Value () (at <9577ac7a62ef43179789031239ba8798>:0)
    8. UnityEngine.Rendering.DebugManager.get_instance () (at Library/PackageCache/com.unity.render-pipelines.core@10.1.0/Runtime/Debugging/DebugManager.cs:32)
    9. UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraphDebugParams.RegisterDebug (System.String name) (at Library/PackageCache/com.unity.render-pipelines.core@10.1.0/Runtime/RenderGraph/RenderGraph.cs:86)
    10. UnityEngine.Experimental.Rendering.RenderGraphModule.RenderGraph..ctor (System.String name) (at Library/PackageCache/com.unity.render-pipelines.core@10.1.0/Runtime/RenderGraph/RenderGraph.cs:255)
    11. UnityEngine.Rendering.HighDefinition.HDRenderPipeline..ctor (UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset asset, UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset defaultAsset) (at Library/PackageCache/com.unity.render-pipelines.high-definition@10.1.0/Runtime/RenderPipeline/HDRenderPipeline.cs:352)
    12. UnityEngine.Rendering.HighDefinition.HDRenderPipelineAsset.CreatePipeline () (at Library/PackageCache/com.unity.render-pipelines.high-definition@10.1.0/Runtime/RenderPipeline/HDRenderPipelineAsset.cs:44)
    13. UnityEngine.Rendering.RenderPipelineAsset.InternalCreatePipeline () (at /Users/bokken/buildslave/unity/build/Runtime/Export/RenderPipeline/RenderPipelineAsset.cs:10)
    14. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
    15.  



    Does anyone know which version of the Input System HDRP 10.1 was coded against?

    PS: can someone tell me how to properly format code on the forum? Why does it add bullet points?
     
  2. chap-unity

    chap-unity

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    766
    Hey, What I can tell you is that Input System v2 was not supported in HDRP until 10.2.0 package.