Search Issue Tracker
Fixed in 12.0.0
Votes
0
Found in [Package]
12.0.0
Issue ID
1368363
Regression
Yes
[iOS] Development Build throws NullReferenceException when Input System package is present in URP project
How to reproduce:
1. Open the attached project ("repro_2022.1.0a10.zip")
2. Build and Run on an iOS device
Expected result: NullReferenceException not thrown in Xcode console
Actual result: NullReferenceException thrown in Xcode console
Reproducible with: 12.0.0 (2021.2.0b13, 2022.1.0a10)
Not reproducible with: 7.7.1 (2019.4.31f1), 10.6.0 (2020.3.19f1), 11.0.0 (2021.1.23f1), 12.0.0 (2021.2.0b14), 13.0.0 (2022.1.0a11)
Reproducible on:
iPhone 8 Plus (iOS 14.4.2)
iPad 6th generation (iOS 14.4.2)
iPad Air 2 (iOS 11.0.3)
Not reproducible on:
VLNQA00288, Samsung Galaxy J7 (SM-J730F), Android 8.1.0, CPU: Exynos 7 Octa 7870, GPU: Mali-T830
VLNQA00022, Xiaomi Redmi Note 3 (Redmi Note 3), Android 6.0.1, CPU: Snapdragon 617 MSM8952, GPU: Adreno (TM) 510
VLNQA00001, Google Pixel 2 (Pixel 2), Android 11, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00316, Samsung Galaxy Note10 (SM-N970F), Android 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
VLNQA00225, Qualcomm null (SDM845 for arm64), Android 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
Note:
- Not reproducible on macOS, Android
- Could not test with HDRP (mobile platforms are not supported)
Errors:
NullReferenceException: Object reference not set to an instance of an object.
at UnityEngine.InputSystem.Utilities.TypeTable.LookupTypeRegistration (System.String name) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.InputSystem.InputBindingResolver.InstantiateBindingComposite (System.String nameAndParameters) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.InputSystem.InputBindingResolver.AddActionMap (UnityEngine.InputSystem.InputActionMap map) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.InputSystem.InputActionMap.ResolveBindings () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.InputSystem.InputActionMap.ResolveBindingsIfNecessary () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.InputSystem.InputAction.Enable () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.Rendering.DebugManager.RegisterActions () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.Rendering.DebugManager..ctor () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.Rendering.DebugManager+<>c.<.cctor>b__77_0 () [0x00000] in <00000000000000000000000000000000>:0
at System.Func`1[TResult].Invoke () [0x00000] in <00000000000000000000000000000000>:0
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 () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.Rendering.Universal.UniversalRenderPipeline..ctor (UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset asset) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset.CreatePipeline () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.Rendering.RenderPipelineAsset.InternalCreatePipeline () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.Rendering.RenderPipelineManager.PrepareRenderPipeline (UnityEngine.Rendering.RenderPipelineAsset pipelineAsset) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.Rendering.RenderPipelineManager.DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset pipe, System.IntPtr loopPtr, System.Collections.Generic.List`1[T] renderRequests) [0x00000] in <00000000000000000000000000000000>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.InputSystem.InputBindingResolver:AddActionMap(InputActionMap)
UnityEngine.InputSystem.InputActionMap:ResolveBindings()
UnityEngine.InputSystem.InputActionMap:ResolveBindingsIfNecessary()
UnityEngine.InputSystem.InputAction:Enable()
UnityEngine.Rendering.DebugManager:RegisterActions()
UnityEngine.Rendering.DebugManager:.ctor()
UnityEngine.Rendering.<>c:<.cctor>b__77_0()
System.Func`1:Invoke()
System.Lazy`1:ViaFactory(LazyThreadSafetyMode)
System.Lazy`1:ExecutionAndPublication(LazyHelper, Boolean)
System.Lazy`1:CreateValue()
System.Lazy`1:get_Value()
UnityEngine.Rendering.DebugManager:get_instance()
UnityEngine.Rendering.Universal.UniversalRenderPipeline:.ctor(UniversalRenderPipelineAsset)
UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset:CreatePipeline()
UnityEngine.Rendering.RenderPipelineAsset:InternalCreatePipeline()
UnityEngine.Rendering.RenderPipelineManager:PrepareRenderPipeline(RenderPipelineAsset)
UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal(RenderPipelineAsset, IntPtr, List`1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 12.0.0):
Fixed in: 12.0.0 (2021.2.0b14), 13.0.0 (2022.1.0a11)