Open john012343210 opened 1 day ago
It is checked that the spark already appear in the very beginning of the project c3900d8054133572558726c7cb28f24bf7c8ac3b
C:\Users\whouse\Desktop\unreal\UE5_NBodySimulationBUGtest2
Taking one more step backward, we directly try the original reference project. https://github.com/[MatthisL/UE5_NBodySimulation](https://github.com/MatthisL/UE5_NBodySimulation)
C:\Users\whouse\Desktop\unreal\UE5_NBodySimulationBUGtest3
It is also tested with this bug.
It is tested if I start a blank template project in UE 5.2. This problem will not appear. C:\Users\whouse\Desktop\unreal\NBodySimulation
Also, maybe we start to migrate the old things to the new template project.
https://github.com/ProgramIsFun/ue5-force-graph/commit/bc336619fa96f85d01b6b8e9ad18a521d79e5f71
Adding the utility CPP and header Will not have the bug.
But after adding all the other CPP , it seems bug happens. The following is a compound message, which the bug will happen.
CONSOLE: Use build tool: C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.exe 7:19:07 PM Building C:\Users\whouse\Desktop\unreal\NBodySimulation\Intermediate\ProjectFiles\NBodySimulation.vcxproj "C:\Program Files\Epic Games\UE_5.2\Engine\Build\BatchFiles\Build.bat" NBodySimulationEditor Win64 Development -Project="C:\Users\whouse\Desktop\unreal\NBodySimulation\NBodySimulation.uproject" -WaitMutex -FromMsBuild Using bundled DotNet SDK version: 6.0.302 Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" NBodySimulationEditor Win64 Development -Project="C:\Users\whouse\Desktop\unreal\NBodySimulation\NBodySimulation.uproject" -WaitMutex -FromMsBuild Log file: C:\Users\whouse\AppData\Local\UnrealBuildTool\Log.txt Using 'git status' to determine working set for adaptive non-unity build (C:\Users\whouse\Desktop\unreal\NBodySimulation). Building NBodySimulationEditor... Using Visual Studio 2022 14.41.34123 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10). [Upgrade] [Upgrade] Using backward-compatible include order. The latest version of UE has changed the order of includes, which may require code changes. The current setting is: [Upgrade] IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_1 [Upgrade] Suppress this message by setting 'IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_2;' in NBodySimulationEditor.Target.cs. [Upgrade] Alternatively you can set this to 'EngineIncludeOrderVersion.Latest' to always use the latest include order. This will potentially cause compile errors when integrating new versions of the engine. [Upgrade] [Adaptive Build] Excluded from NBodySimulation unity file: KnowledgeEdge.cpp, KnowledgeGraph.cpp, KnowledgeGraph2.cpp, KnowledgeGraph3.cpp, KnowledgeNode.cpp, NBodySimulation.cpp, octreeeeeeeeee3.cpp, octreeeeeeeeee4.cpp, utillllllssss.cpp Determining max actions to execute in parallel (10 physical cores, 20 logical cores) Executing up to 10 processes, one per physical core Building 8 actions with 8 processes... [1/8] Link [x64] UnrealEditor-NBodySim-0006.lib Creating library C:\Users\whouse\Desktop\unreal\NBodySimulation\Plugins\NBodySimShader\Intermediate\Build\Win64\x64\UnrealEditor\Development\NBodySim\UnrealEditor-NBodySim-0006.lib and object C:\Users\whouse\Desktop\unreal\NBodySimulation\Plugins\NBodySimShader\Intermediate\Build\Win64\x64\UnrealEditor\Development\NBodySim\UnrealEditor-NBodySim-0006.exp [2/8] Link [x64] UnrealEditor-BasePlugin-0006.lib Creating library C:\Users\whouse\Desktop\unreal\NBodySimulation\Plugins\NBodySimShader\Intermediate\Build\Win64\x64\UnrealEditor\Development\BasePlugin\UnrealEditor-BasePlugin-0006.lib and object C:\Users\whouse\Desktop\unreal\NBodySimulation\Plugins\NBodySimShader\Intermediate\Build\Win64\x64\UnrealEditor\Development\BasePlugin\UnrealEditor-BasePlugin-0006.exp [3/8] Link [x64] UnrealEditor-BasePlugin-0006.dll Creating library C:\Users\whouse\Desktop\unreal\NBodySimulation\Plugins\NBodySimShader\Intermediate\Build\Win64\x64\UnrealEditor\Development\BasePlugin\UnrealEditor-BasePlugin-0006.suppressed.lib and object C:\Users\whouse\Desktop\unreal\NBodySimulation\Plugins\NBodySimShader\Intermediate\Build\Win64\x64\UnrealEditor\Development\BasePlugin\UnrealEditor-BasePlugin-0006.suppressed.exp [4/8] Link [x64] UnrealEditor-NBodySim-0006.dll Creating library C:\Users\whouse\Desktop\unreal\NBodySimulation\Plugins\NBodySimShader\Intermediate\Build\Win64\x64\UnrealEditor\Development\NBodySim\UnrealEditor-NBodySim-0006.suppressed.lib and object C:\Users\whouse\Desktop\unreal\NBodySimulation\Plugins\NBodySimShader\Intermediate\Build\Win64\x64\UnrealEditor\Development\NBodySim\UnrealEditor-NBodySim-0006.suppressed.exp [5/8] Compile [x64] KnowledgeGraph.cpp 0>KnowledgeGraph.cpp(132): Warning C4457 : declaration of 'DeltaTime' hides function parameter 0>KnowledgeGraph.cpp(69): Reference C4457 : see declaration of 'DeltaTime' [6/8] Link [x64] UnrealEditor-NBodySimulation-0006.lib Creating library C:\Users\whouse\Desktop\unreal\NBodySimulation\Intermediate\Build\Win64\x64\UnrealEditor\Development\NBodySimulation\UnrealEditor-NBodySimulation-0006.lib and object C:\Users\whouse\Desktop\unreal\NBodySimulation\Intermediate\Build\Win64\x64\UnrealEditor\Development\NBodySimulation\UnrealEditor-NBodySimulation-0006.exp [7/8] Link [x64] UnrealEditor-NBodySimulation-0006.dll Creating library C:\Users\whouse\Desktop\unreal\NBodySimulation\Intermediate\Build\Win64\x64\UnrealEditor\Development\NBodySimulation\UnrealEditor-NBodySimulation-0006.suppressed.lib and object C:\Users\whouse\Desktop\unreal\NBodySimulation\Intermediate\Build\Win64\x64\UnrealEditor\Development\NBodySimulation\UnrealEditor-NBodySimulation-0006.suppressed.exp [8/8] WriteMetadata NBodySimulationEditor.target Total time in Parallel executor: 2.69 seconds Total execution time: 4.32 seconds
For now, I dont think this error could easily be solved. I will just return to use live coding.
When you try to compile the code and write the IDE, if after the Terminal in the IDE signal, the compile is finished, but the engine does not beep a sound Immediately, It is likely that this bug happened.
`LoginId:d136ee2f4965b641325b0babb5335373 EpicAccountId:32550fbdab1c434399c0ce8a86d54173
Assertion failed: Index >= 0 [File:D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Public\UObject\UObjectArray.h] [Line: 727]
UnrealEditor_UnrealEd!TObjectIteratorBase<1>::operator++() [D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Public\UObject\UObjectIterator.h:180] UnrealEditor_UnrealEd!UEditorEngine::EndPlayMap() [D:\build++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:398] UnrealEditor_UnrealEd!UEditorEngine::Tick() [D:\build++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:2227] UnrealEditor_UnrealEd!UUnrealEdEngine::Tick() [D:\build++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:519] UnrealEditor!FEngineLoop::Tick() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5812] UnrealEditor!GuardedMain() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:188] UnrealEditor!GuardedMainWrapper() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:107] UnrealEditor!LaunchWindowsStartup() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:244] UnrealEditor!WinMain() [D:\build++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:284] UnrealEditor!__scrt_common_main_seh() [D:\a_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288] kernel32 ntdll`
C:\Program Files\Epic Games\UE_5.2\Engine\Source\Editor\UnrealEd\Private
Either enabled the symbol of debugging to track what happened.
Or
Try to start a new project and migrate to that new project.