2020-11-28

UE4 Accessing TMap crashes engine after running without problems for a while

I am having a crash that I have no idea how to trace. I've created an InputManager from GameInstanceSubcomponent and there created a TMap with enums as key and value. Input is being processed over time, so the map is accessed every frame. After running for some time, the game would crash with the following:

See image

These lines are as follows:

59. m_InputActionScale[m_InputActionTypes[InputActionType]] += Scale;
114. if (!m_InputActionsConsumed[InputActionType] &&
            inputContext->Consume(InputActionType, m_InputActions[InputActionType], GetWorld()->DeltaTimeSeconds))

Any help is welcome!



from Recent Questions - Stack Overflow https://ift.tt/39jsa4o
https://ift.tt/eA8V8J

No comments:

Post a Comment