Hi,
When I build my game in release state, it works, but when I build it in development mode, I get errors.
NullReferenceException while resolving binding ‘Enable Debug:ButtonWithOneModifier’ in action map ‘Debug Menu’
NullReferenceException: Object reference not set to an instance of an object.
at UnityEngine.InputSystem.Utilities.TypeTable.LookupTypeRegistration (System.String name) [0x0002c] in /Users/tobias/Games/Swappy Shapes/Library/PackageCache/com.unity.inputsystem@1.1.1/InputSystem/Utilities/TypeTable.cs:69
at UnityEngine.InputSystem.InputBindingResolver.InstantiateBindingComposite (System.String nameAndParameters) [0x00014] in /Users/tobias/Games/Swappy Shapes/Library/PackageCache/com.unity.inputsystem@1.1.1/InputSystem/Actions/InputBindingResolver.cs:645
at UnityEngine.InputSystem.InputBindingResolver.AddActionMap (UnityEngine.InputSystem.InputActionMap map) [0x0049e] in /Users/tobias/Games/Swappy Shapes/Library/PackageCache/com.unity.inputsystem@1.1.1/InputSystem/Actions/InputBindingResolver.cs:345
at UnityEngine.InputSystem.InputActionMap.ResolveBindings () [0x0019f] in /Users/tobias/Games/Swappy Shapes/Library/PackageCache/com.unity.inputsystem@1.1.1/InputSystem/Actions/InputActionMap.cs:1169
at UnityEngine.InputSystem.InputActionMap.ResolveBindingsIfNecessary () [0x00043] in /Users/tobias/Games/Swappy Shapes/Library/PackageCache/com.unity.inputsystem@1.1.1/InputSystem/Actions/InputActionMap.cs:1065
at UnityEngine.InputSystem.InputAction.Enable () [0x00015] in /Users/tobias/Games/Swappy Shapes/Library/PackageCache/com.unity.inputsystem@1.1.1/InputSystem/Actions/InputAction.cs:866
at UnityEngine.Rendering.DebugManager.RegisterActions () [0x00203] in /Users/tobias/Games/Swappy Shapes/Library/PackageCache/com.unity.render-pipelines.core@12.0.0/Runtime/Debugging/DebugManager.Actions.cs:146
at UnityEngine.Rendering.DebugManager…ctor () [0x00091] in /Users/tobias/Games/Swappy Shapes/Library/PackageCache/com.unity.render-pipelines.core@12.0.0/Runtime/Debugging/DebugManager.cs:150
at UnityEngine.Rendering.DebugManager+<>c.<.cctor>b__77_0 () [0x00000] in /Users/tobias/Games/Swappy Shapes/Library/PackageCache/com.unity.render-pipelines.core@12.0.0/Runtime/Debugging/DebugManager.cs:29
at System.Lazy`1[T].ViaFactory (System.Threading.LazyThreadSafetyMode mode) [0x00000] in <00000000000000000000000000000000>:0
at System.Lazy`1[T].ExecutionAndPublication (System.LazyHelper executionAndPublication, System.Boolean useDefaultConstructor) [0x00000] in <00000000000000000000000000000000>:0
at System.Lazy`1[T].CreateValue () [0x00000] in <00000000000000000000000000000000>:0
at System.Lazy`1[T].get_Value () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.Rendering.DebugManager.get_instance () [0x00005] in /Users/tobias/Games/Swappy Shapes/Library/PackageCache/com.unity.render-pipelines.core@12.0.0/Runtime/Debugging/DebugManager.cs:33
at UnityEngine.Rendering.Universal.UniversalRenderPipeline…ctor (UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset asset) [0x000c1] in /Users/tobias/Games/Swappy Shapes/Library/PackageCache/com.unity.render-pipelines.universal@12.0.0/Runtime/UniversalRenderPipeline.cs:178
at UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset.CreatePipeline () [0x00072] in /Users/tobias/Games/Swappy Shapes/Library/PackageCache/com.unity.render-pipelines.universal@12.0.0/Runtime/Data/UniversalRenderPipelineAsset.cs:372
at UnityEngine.Rendering.RenderPipelineAsset.InternalCreatePipeline () [0x00005] in /Users/bokken/buildslave/unity/build/Runtime/Export/RenderPipeline/RenderPipelineAsset.cs:10
at UnityEngine.Rendering.RenderPipelineManager.PrepareRenderPipeline (UnityEngine.Rendering.RenderPipelineAsset pipelineAsset) [0x00036] in /Users/bokken/buildslave/unity/build/Runtime/Export/RenderPipeline/RenderPipelineManager.cs:129
at UnityEngine.Rendering.RenderPipelineManager.DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset pipe, System.IntPtr loopPtr, System.Collections.Generic.List`1[T] renderRequests) [0x00002] in /Users/bokken/buildslave/unity/build/Runtime/Export/RenderPipeline/RenderPipelineManager.cs:100
— End of stack trace from previous location where exception was thrown —
Is this a known issue?
Thanks!
