Unreal crashes by clicking on Blueprint

Hey there,

I’ve made a pickup class which works totally fine. It just adds a weapon to the player by calling a function inside of the player. But when I do this setup (see pic) and try to spawn it, it works fine until I shut down unreal. After its next start, unreal crashes by clicking on most of the blueprints (all of them are somehow involved because this problem is player related, that’s what I learned so far). This pickup is just a child of another class. if i wanted to spawn this parent class, everything works fine again. but as soon as I try to use that method from inside of the player, it crashes again. Maybe there are too much connections inside of this system, maybe it’s that horribly bug that a function library is not compiled on start and has to be done manually so any class works. Or it’s just a wriing error. Because that technique of mine works.

Here the error code:

Fatal error!

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffff

UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14ebdae) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee151bc2e) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee144dcba) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee144d642) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14ba94c) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14b8a46) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x000007fedf4fa089) + 0 bytes [UnknownFile:0]
UE4Editor-KismetCompiler.dll!UnknownFunction (0x000007fedb708d3d) + 0 bytes [UnknownFile:0]
UE4Editor-KismetCompiler.dll!UnknownFunction (0x000007fedb70a7dd) + 0 bytes [UnknownFile:0]
UE4Editor-KismetCompiler.dll!UnknownFunction (0x000007fedb70a1de) + 0 bytes [UnknownFile:0]
UE4Editor-UnrealEd.dll!UnknownFunction (0x000007fedd3d1edb) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x000007fedee01131) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee13dacd1) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee1487256) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14a1714) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee1486a97) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14a1714) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee1486a97) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14874db) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14a37eb) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee1504985) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14c342f) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14c2722) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14c3792) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14c2722) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14c2524) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee148e60d) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14c1850) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14885f8) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee149a81e) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee15047cb) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14c342f) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14c2722) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14c3792) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14c2722) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14c2524) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee148e60d) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14c1850) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee14885f8) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee149a81e) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee15047cb) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee1511192) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x000007fee1521d04) + 0 bytes [UnknownFile:0]
UE4Editor-ContentBrowser.dll!UnknownFunction (0x000007fed4f66de7) + 0 bytes [UnknownFile:0]
UE4Editor-ContentBrowser.dll!UnknownFunction (0x000007fed4fc1c26) + 0 bytes [UnknownFile:0]
UE4Editor-ContentBrowser.dll!UnknownFunction (0x000007fed4f47b27) + 0 bytes [UnknownFile:0]
UE4Editor-ContentBrowser.dll!UnknownFunction (0x000007fed4f52667) + 0 bytes [UnknownFile:0]
UE4Editor-ContentBrowser.dll!UnknownFunction (0x000007fed4fcde86) + 0 bytes [UnknownFile:0]
UE4Editor-ContentBrowser.dll!UnknownFunction (0x000007fed4f46541) + 0 bytes [UnknownFile:0]
UE4Editor-ContentBrowser.dll!UnknownFunction (0x000007fed4f5182a) + 0 bytes [UnknownFile:0]
UE4Editor-ContentBrowser.dll!UnknownFunction (0x000007fed4f4ee16) + 0 bytes [UnknownFile:0]
UE4Editor-ContentBrowser.dll!UnknownFunction (0x000007fed4fe2c3f) + 0 bytes [UnknownFile:0]
UE4Editor-ContentBrowser.dll!UnknownFunction (0x000007fed4fce0cf) + 0 bytes [UnknownFile:0]
UE4Editor-Slate.dll!UnknownFunction (0x000007fede208b5e) + 0 bytes [UnknownFile:0]
UE4Editor-Slate.dll!UnknownFunction (0x000007fede1c668d) + 0 bytes [UnknownFile:0]
UE4Editor-Slate.dll!UnknownFunction (0x000007fede26a859) + 0 bytes [UnknownFile:0]
UE4Editor-Slate.dll!UnknownFunction (0x000007fede25bb0b) + 0 bytes [UnknownFile:0]
UE4Editor-Core.dll!UnknownFunction (0x000007fee190e85c) + 0 bytes [UnknownFile:0]
UE4Editor-Core.dll!UnknownFunction (0x000007fee18fa1fb) + 0 bytes [UnknownFile:0]
UE4Editor-Core.dll!UnknownFunction (0x000007fee190fbbb) + 0 bytes [UnknownFile:0]
UE4Editor-Core.dll!UnknownFunction (0x000007fee18f6cf2) + 0 bytes [UnknownFile:0]
USER32.dll!UnknownFunction (0x0000000076e99bd1) + 0 bytes [UnknownFile:0]
USER32.dll!UnknownFunction (0x0000000076e998da) + 0 bytes [UnknownFile:0]
UE4Editor-Core.dll!UnknownFunction (0x000007fee1910076) + 0 bytes [UnknownFile:0]
UE4Editor.exe!FEngineLoop::Tick() (0x000000013f9acbda) + 8 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launchengineloop.cpp:2193]
UE4Editor.exe!GuardedMain() (0x000000013f9a089f) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\launch.cpp:131]
UE4Editor.exe!GuardedMainWrapper() (0x000000013f9a090a) + 5 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor.exe!WinMain() (0x000000013f9ae3d9) + 17 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.6\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
UE4Editor.exe!__tmainCRTStartup() (0x000000013f9af319) + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
kernel32.dll!UnknownFunction (0x0000000076f959ed) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00000000770cc541) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00000000770cc541) + 0 bytes [UnknownFile:0]

Okay I investigated that problem and I found that the dropped pickup, can only call functions of the player which doesn’t use other functions. May be irritating, now once more : when the pickup calls the collect()-function of the player, the collect()-function internally calls the drop()-function in case we have too many items. additionally there are many other calls of function which exist inside of the player class. if i remove all the calls which are inside of the collect()-function, it works to call the collect()-function from the pickup. so There must be the problem. From now on, I don’t know what to do because no matter which function call remains, unreal crashes. should i really give up structure and copy everything?

To reduce my problem to one question which you unreal guys should ask yourself: is it possible to spawn an actor which calls a character function in which other character functions are called?

And if it works, shut down unreal und open it again :slight_smile: for me it doesnt work then anymore.

Hi ,

Can you post your crash logs here? They can be found at \Unreal Projects\PROJECTNAME\saved\logs. Additionally, do you have any circular references/dependencies in your script that may be causing the error?

Hi ,

We have not heard from you in quite some time. I am marking this as accepted for tracking purposes. If you are still experiencing this error, please comment back with the requested information. Thank you.