Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.0.0-preview.5
Issue ID
1265853
Regression
Yes
[Input System] Player prefabs are not instantiated on Join Action when they have InputActionAsset assigned to them
Reproduction steps:
1. Open the attached project ("case_1265853-InputActionPrefabs.zip")
2. Open the repro scene ("SampleScene")
3. Enter Play Mode
4. Press left mouse button and space bar
5. Notice that two prefabs get instantiated
6. Exit Play Mode
7. Assign "DefaultInput" InputActionAsset to Player prefab's Player Input component
8. Enter Play Mode and try to spawn them again
Expected result: Player prefabs are spawned when triggering Join Action
Actual result: Player prefabs are not spawned
Reproducible with: 2019.4.9f1, 2020.1.3f1, 2020.2.0a21
Couldn't test with 2018.4 (minimal package version not supported)
Reproducible with package versions: 1.0.0-preview.5, 1.0.0
Not reproducible with package versions: 0.9.0-preview, 1.0.0-preview.4
Note: The issue does not reproduce when using "SimpleMultiplayer" InputActionAsset from "Simple Multiplayer" sample
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
- UI becomes unresponsive when using AppUI Navigation and Event System is attached
- Freeze/crash with multiple StackTraces when opening a specific project
- Crash on TypeContainer<int>::rtti when deleting a Render Texture that is used by the Main Camera
- Multiple ArgumentExceptions are thrown when adding a VisualTreeAsset with Sprite Glyphs to a UIDocument
- Color Node Alpha slider displays incorrect value when viewed in Shader Graph
Resolution Note:
The problem here was that the input action asset in use had no required devices in it's control schemes, so the PlayerInput component was not able to assign a device to the player. Added some validation messages both in the debug log and to the PlayerInputManager inspector window to make it clearer when this is an issue.