Bind action that creates new entity with new InputComponent.
Trigger action binding.
Expected result:
New entity with InputComponent is created.
Actual Result:
Exception is thrown:
System.InvalidOperationException
HResult=0x80131509
Message=Collection was modified; enumeration operation may not execute.
Source=System.Private.CoreLib
StackTrace:
at System.ThrowHelper.ThrowInvalidOperationException_InvalidOperation_EnumFailedVersion()
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at Geisha.Engine.Input.Systems.InputSystem.ProcessInput() in C:\GitRepos\geisha\src\Geisha.Engine\Input\Systems\InputSystem.cs:line 29
at Geisha.Engine.Core.GameLoop.GameLoop.Update() in C:\GitRepos\geisha\src\Geisha.Engine\Core\GameLoop\GameLoop.cs:line 54
at Geisha.Engine.Engine.Update() in C:\GitRepos\geisha\src\Geisha.Engine\Engine.cs:line 94
at Geisha.Engine.Windows.WindowsApplication.<>c__DisplayClass6_1.<Run>b__0() in C:\GitRepos\geisha\src\Geisha.Engine.Windows\WindowsApplication.cs:line 82
at SharpDX.Windows.RenderLoop.Run(Control form, RenderCallback renderCallback, Boolean useApplicationDoEvents)
at Geisha.Engine.Windows.WindowsApplication.Run(Game game) in C:\GitRepos\geisha\src\Geisha.Engine.Windows\WindowsApplication.cs:line 79
at Sandbox.Program.Main() in C:\GitRepos\geisha\sandbox\Sandbox\Program.cs:line 14
Acceptance Criteria
[ ] InputComponent can be created in action binding.
Definition of Done
[ ] Automated Tests - new and modified code is covered with automated tests
[ ] Documentation - new and modified APIs are documented
[ ] Performance - performance is verified to avoid regression
[ ] Compatibility - consider compatibility of APIs and functionality with previous version and provide upgrade path if possible
[ ] Demo Application - if new functionality should be showcased in Demo Application or existing functionality changed update Demo Application
[ ] Release Activities - if release process is affected update Release Activities issue template
Steps to reproduce:
InputComponent
with action mapping.InputComponent
.Expected result:
InputComponent
is created.Actual Result:
Acceptance Criteria
InputComponent
can be created in action binding.Definition of Done