[BUG] Crash when compiling a working Task

I’ve created a task for a Behaviour Tree that does alot of casting and creating arrays. It randomly crashes when I compile the task and there are no errors. I can stop the crashing by deleting and re-creating the exact same Blueprint, but this seems to only aliviate the problem for a few hours.

Here’s my crash log:

!Id:

Access violation - code c0000005 (first/second chance not available)

Fatal error!

UE4Editor_CoreUObject + 532768 bytes
UE4Editor_CoreUObject + 688546 bytes
UE4Editor_CoreUObject + 1128472 bytes
UE4Editor_CoreUObject + 1121062 bytes
UE4Editor_Engine + 8844209 bytes
UE4Editor_UnrealEd + 9163685 bytes
UE4Editor_UnrealEd + 9138121 bytes
UE4Editor_UnrealEd + 8985004 bytes
UE4Editor_Kismet + 595751 bytes
UE4Editor_Kismet + 834589 bytes
UE4Editor_Kismet + 854871 bytes
UE4Editor_Slate + 545350 bytes
UE4Editor_Slate + 1884845 bytes
UE4Editor_Slate + 1691884 bytes
UE4Editor_Slate + 2512538 bytes
UE4Editor_Slate + 2748777 bytes
UE4Editor_Slate + 794079 bytes
UE4Editor_Slate + 727433 bytes
UE4Editor_Core + 2503893 bytes
UE4Editor_Core + 2422897 bytes
UE4Editor_Core + 2508318 bytes
UE4Editor_Core + 2410210 bytes
user32 + 105425 bytes
user32 + 104666 bytes
UE4Editor_Core + 2509510 bytes
UE4Editor!FEngineLoop::Tick() + 2877 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.4\engine\source\runtime\launch\private\launchengineloop.cpp:2080]
UE4Editor!GuardedMain() + 476 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.4\engine\source\runtime\launch\private\launch.cpp:133]
UE4Editor!GuardedMainWrapper() + 26 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.4\engine\source\runtime\launch\private\windows\launchwindows.cpp:125]
UE4Editor!WinMain() + 249 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.4\engine\source\runtime\launch\private\windows\launchwindows.cpp:201]
UE4Editor!__tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]

I also get the crash now if I delete everything within the Task (Nodes, Events, Macros, Functions etc) and recompile.

!Id:

Access violation - code c0000005 (first/second chance not available)

Fatal error!

UE4Editor_CoreUObject + 532768 bytes
UE4Editor_CoreUObject + 688546 bytes
UE4Editor_CoreUObject + 1128472 bytes
UE4Editor_CoreUObject + 1121062 bytes
UE4Editor_Engine + 8844209 bytes
UE4Editor_UnrealEd + 9163685 bytes
UE4Editor_UnrealEd + 9138121 bytes
UE4Editor_UnrealEd + 8985004 bytes
UE4Editor_Kismet + 595751 bytes
UE4Editor_Kismet + 834589 bytes
UE4Editor_Kismet + 854871 bytes
UE4Editor_Slate + 545350 bytes
UE4Editor_Slate + 1884845 bytes
UE4Editor_Slate + 1691884 bytes
UE4Editor_Slate + 2512538 bytes
UE4Editor_Slate + 2748777 bytes
UE4Editor_Slate + 794079 bytes
UE4Editor_Slate + 727433 bytes
UE4Editor_Core + 2503893 bytes
UE4Editor_Core + 2422897 bytes
UE4Editor_Core + 2508318 bytes
UE4Editor_Core + 2410210 bytes
user32 + 105425 bytes
user32 + 104666 bytes
UE4Editor_Core + 2509510 bytes
UE4Editor!FEngineLoop::Tick() + 2877 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.4\engine\source\runtime\launch\private\launchengineloop.cpp:2080]
UE4Editor!GuardedMain() + 476 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.4\engine\source\runtime\launch\private\launch.cpp:133]
UE4Editor!GuardedMainWrapper() + 26 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.4\engine\source\runtime\launch\private\windows\launchwindows.cpp:125]
UE4Editor!WinMain() + 249 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.4\engine\source\runtime\launch\private\windows\launchwindows.cpp:201]
UE4Editor!__tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]

Hi ,

Can you post your logs here so we can have a look? Additionally, can you reproduce this in a clean project with no additional content? Thank you!

Hi ,

We have not heard from you in quite some time. I am marking this thread as answered for tracking purposes. If you are still experiencing this crash, please post here with the requested information.

Sorry for the late reply. Despite the crash being 100% consistent on the day of reporting, it was impossible to reproduce the following day :-s

Hi ,

I am happy to hear that you are no longer experiencing this issue. I will remark this as answered. If you do experience this again, please comment with the information requested earlier. Thank you!