Download

Problem at the end of the game

Hello everyone
In my project, at the end of the game, an error periodically occurs.

At the same time, there are no problems during the game! There are also no crashes, the log is clean.

[2021.11.17-11.49.52:999][702]LogModuleManager: Shutting down and abandoning module RSA (3)
[2021.11.17-11.49.52:999][702]LogContentStreaming: Display: There are 1 unreleased StreamingManagers
[2021.11.17-11.49.52:999][702]LogD3D11RHI: Shutdown
[2021.11.17-11.49.52:999][702]LogD3D11RHI: CleanupD3DDevice
[2021.11.17-11.49.52:999][702]LogWindows: Error: Error reentered: Assertion failed: !GIsCriticalError [File:C:/Users/Win10Pro/Documents/UE 4.27.1/Engine/Source/Runtime/Windows/D3D11RHI/Private/D3D11Device.cpp] [Line: 494]

[2021.11.17-11.49.54:697][702]Message dialog closed, result: Ok, title: The UE4-LastOfStarRaider Game has crashed and will close, text: Assertion failed: StartIndex >= 0 && StartIndex <= Array.Num() [File:C:\Users\Win10Pro\Documents\UE 4.27.1\Engine\Source\Runtime\Core\Public\Containers/BitArray.h] [Line: 1764]
[2021.11.17-11.49.54:697][702]LogWindows: Error: HandleError re-entered.
[2021.11.17-11.49.54:697][702]LogThreadingWindows: Error: Runnable thread FRefreshGamepadThread617B739E426D830BDB4CA68DE0C8EC16 crashed.
[2021.11.17-11.49.54:697][702]LogWindows: FPlatformMisc::RequestExit(1)
[2021.11.17-11.49.54:697][702]LogWindows: Error: === Critical error: ===
[2021.11.17-11.49.54:697][702]LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3)
[2021.11.17-11.49.54:697][702]LogWindows: Error:
[2021.11.17-11.49.54:697][702]LogCore: Engine exit requested (reason: Win RequestExit; note: exit was already requested)
[2021.11.17-11.49.54:697][702]LogWindows: Error: Assertion failed: StartIndex >= 0 && StartIndex <= Array.Num() [File:C:\Users\Win10Pro\Documents\UE 4.27.1\Engine\Source\Runtime\Core\Public\Containers/BitArray.h] [Line: 1764]
[2021.11.17-11.49.54:706][702]Log file closed, 11/17/21 14:49:54

Found a problem.
The plugin did not always terminate correctly…