C++ log error

Hi there community , i was woundering what u guys can tell me about this log error pls :3

MachineId:70FD103142FA2CB3E8A00492750DCFD5
EpicAccountId:75b4e3b40e964669a359fb3cc26d51bf

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

UE4Editor_escola!AWeapon::Fire() + 25 bytes [c:\users\rui\documents\unreal projects\escola\source\escola\private\weapon.cpp:19]
UE4Editor_Engine + 15089970 bytes
UE4Editor_Engine + 6469694 bytes
UE4Editor_Engine + 6523637 bytes
UE4Editor_Engine + 6460347 bytes
UE4Editor_Engine + 6522234 bytes
UE4Editor_Engine + 1447759 bytes
UE4Editor_Engine + 8851078 bytes
UE4Editor_Engine + 8881168 bytes
UE4Editor_Core + 713859 bytes
UE4Editor_Core + 714365 bytes
UE4Editor_Core + 842869 bytes
UE4Editor_Engine + 9095109 bytes
UE4Editor_Engine + 9009872 bytes
UE4Editor_Engine + 9020215 bytes
UE4Editor_Engine + 5593062 bytes
UE4Editor_Engine + 5622284 bytes
UE4Editor_UnrealEd + 1803906 bytes
UE4Editor_UnrealEd + 6686342 bytes
UE4Editor!FEngineLoop::Tick() + 3876 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launchengineloop.cpp:2214]
UE4Editor!GuardedMain() + 479 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launch.cpp:131]
UE4Editor!GuardedMainWrapper() + 26 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() + 249 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
UE4Editor!__tmainCRTStartup() + 329 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]

Thanks in advance

Hi ,

It looks like you try to access to invalid pointer in file weapon.cpp function AWeapon::Fire(). Try to debug it.

Best regards,

hmm :confused:

when i build the code in visual studio it doesnt point me to any error, only when i Debug it in editor it gives that crash error.

Thanks for the quick reply