Since the project needs to package the debug version of the source code, truesky reports an error in the debug version.
[2020.03.18-05.44.33:252][ 0]LogInit: Texture streaming: Enabled
[2020.03.18-05.44.33:898][ 0]LogSlate: Updating window title bar state: overlay mode, drag disabled, window buttons hidden, title bar hidden
[2020.03.18-05.44.33:924][ 0]LogInit: Display: Game Engine Initialized.
[2020.03.18-05.44.33:970][ 0]LogInit: Display: Starting Game.
[2020.03.18-05.44.34:005][ 0]LogNet: Browse: /Game/NewMap?Name=Player
[2020.03.18-05.44.34:021][ 0]LogLoad: LoadMap: /Game/NewMap?Name=Player
[2020.03.18-05.44.34:021][ 0]LogWorld: BeginTearingDown for /Temp/Untitled_0
[2020.03.18-05.44.34:046][ 0]LogWorld: UWorld::CleanupWorld for Untitled, bSessionEnded=true, bCleanupResources=true
[2020.03.18-05.44.34:047][ 0]LogSlate: InvalidateAllWidgets triggered. All widgets were invalidated
[2020.03.18-05.44.34:111][ 0]LogAudioMixer: Display: No commands were queued while flushing the source manager.
[2020.03.18-05.44.34:111][ 0]LogGarbage: Warning: 16.891398 ms for acquiring GC lock
[2020.03.18-05.44.34:473][ 0]LogUObjectHash: Compacting FUObjectHashTables data took 17.03ms
[2020.03.18-05.44.34:676][ 0]LogAIModule: Creating AISystem for world NewMap
[2020.03.18-05.44.34:677][ 0]LogLoad: Game class is ‘GameModeBase’
[2020.03.18-05.44.34:788][ 0]LogWorld: Bringing World /Game/NewMap.NewMap up for play (max tick rate 0) at 2020.03.18-13.44.34
[2020.03.18-05.44.34:789][ 0]LogWorld: Bringing up level for play took: 0.110716
[2020.03.18-05.44.34:898][ 0]LogOutputDevice: Warning:
Script Stack (2 frames):
Control_C.ExecuteUbergraph_Control
Control_C.ReceiveBeginPlay
[2020.03.18-05.44.34:901][ 0]LogWindows: Windows GetLastError: 操作成功完成。 (0)
[2020.03.18-05.44.34:901][ 0]LogWindows: Error: === Critical error: ===
[2020.03.18-05.44.34:901][ 0]LogWindows: Error:
[2020.03.18-05.44.34:901][ 0]LogWindows: Error: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:F:\UE\UnrealEngine-4.24.2-release\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 614]
[2020.03.18-05.44.34:901][ 0]LogWindows: Error: Array index out of bounds: 0 from an array of size 0
[2020.03.18-05.44.34:901][ 0]LogWindows: Error:
[2020.03.18-05.44.34:901][ 0]LogWindows: Error:
[2020.03.18-05.44.34:901][ 0]LogWindows: Error:
[2020.03.18-05.44.34:954][ 0]LogExit: Executing StaticShutdownAfterError
[2020.03.18-05.44.34:968][ 0]LogWindows: FPlatformMisc::RequestExit(1)
[2020.03.18-05.44.34:968][ 0]LogCore: Engine exit requested (reason: Win RequestExit)
[2020.03.18-05.44.35:002][ 0]Log file closed, 03/18/20 13:44:35
The inspection found that the TrueSkyPropertyFloatMaps array was empty when it was called
void ATrueSkySequenceActor::SetSkyLayerValue(ETrueSkySkyLayerProperties Property, int intValue, float floatValue)
{
int maxInt = (int)ETrueSkySkyLayerProperties::TSPROP_MaxInt;
if ((int)Property PropertyName.ToString(), intValue);
else
SetKeyframerFloat(0,TrueSkyPropertyFloatMaps[TSSkyLayerPropertiesFloatIdx].Find((int)Property – maxInt – 1)->PropertyName.ToString(), floatValue);
}
project : https://drive.google.com/open?id=13XZAYZuSYcJh_NmVTWNBn7CaT4-uXzgF
What version of trueSKY are you using?
trueSKYUE4Plugin_4.24.1_4.2.feed0f868_x64
trueSKYUE4Binaries_4.24.f34713c3a2f_4.2.feed0f868_x64