Search Issue Tracker
Fixed in 1.1.0-preview.4
Votes
0
Found in [Package]
1.1.0-preview.3
Issue ID
1323566
Regression
No
Input System default UI actions do not register when adding InputSystemUIInputModule at runtime to an active Game Object
How to reproduce:
1. Open the attached project (case_1323566-InputSystem)
2. Click Play
3. Click anywhere in the Game View
Expected result: 'Clicked' is printed to the Console
Actual result: Nothing is printed to the Console
Reproducible with: 1.0.0 - 1.1.0-preview.3 (2019.4.23f1, 2020.3.2f1, 2021.1.1f1, 2021.2.0a10)
Workaround: Issue is not present when adding the InputSystemUIInputModule to a non-active Game Object
Notes:
1. Uncheck the Active checkbox of Bug Repro Script attached to GameObject to see the workaround
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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note (fix version 1.1.0-preview.4):
Fixed in Input System 1.1.0-pre.5 available in 2019.4 and up. Have to use the InputSystemUIInputModule.AssignDefaultActions() method to resolve the issue