I also get this when i start the packed version. The normal Editor version works fine.
I converted that project yesterday from 4.2 to 4.3 and can’t tell what causes this error.
Created a new project to test if its a problem at all, but there i can start the standalone.
I guess it has something to do with converting the project.
I could recreate the whole game in an empty 4.3 Project, but srsly that cant be the answer.
I hope someone knows how to fix this issue.
If you need more information, just tell where i can find it and i will post it.
Ok, i managed to trace the error back. It was in my Item Blueprint.
But i can’t tell you what exactly it was.
I deleted piece by piece everything from it. First all Variables. After that alle function. Nothing worked, so i deleted the Textrenderer. Still nothing happened. Than i deleted the Model that was set as a root component and after that it worked again.
Then i added everything back to the Item BP and it still works.
I don’t know if it really was the Mesh component which was broken after the convert from 4.2 to 4.3, but if someone got the same problem then try to remove Blueprints you placed in your Scene. If you find the blueprint that causes the crash duplicate it (for saving it) and delete every single piece of it one by another. Everytime check if the Standalone version is working again.
Thats how i found the piece which was broken.
Does the Epic Staff team know about that error already?
If you are comfortable with it, can you send us the specific blueprint in question so we can test it? I’ve never heard of this occurring before. Thank you!
I have assigned this issue to a member of our support staff, and they will begin investigation as soon as possible. If we are unable to reproduce the issue, or we need additional information, our staff member will comment here with additional questions. Otherwise, we will post an ‘Answer’ once we have logged the issue in our bug database or we have a solution for it.
In the meantime, please be sure to review our suggestions for how to report a bug, and feel free to edit your post if you have additional information to provide.
Just tested around with a clone of the project. Deleting the “GotPickedUp” Function seems to fix it instead of the model like i thought before.
Maybe you can reprodruce the fix from that. Although i don’t think that you can reproduce the error with only that file.
To be quite honest I’m not really sure what is going on in your blueprint. In the GotPickedUp function you have a function called Pick Up Item, but this function doesn’t exist in your blueprint. Your GotPickedUp function also has no input to plug into the Cast to Character (in my case it is Cast to MyCharacter), which means it won’t pick up. Adding this input (Character) in allowed me to cast to my character and print a string without crashing. Can you try this and see if it works?
You can’t find the “PickUpItem” function, because it’s from the character.
The character calls the “GotPickedUp” function when pressing f and looking at an item at the same time. In the “GotPickedUp” function, the item calls the “PickUpItem” function to let the character add this item to its InventoryArray.
After that, the item destroys itself.
I now deleted the “PickUpItem” function from the “GotPickedUp” function and called it in the character itself directly after calling the “GotPickedUp” function.
This has the same result of adding my item.
But the Standalone still crashs if i use something inside the GotPickedUp function. I only let the item destroy itself and still it crashs. Unplugging the node fixes the crash again. ): Where the hell does this come from!
I give you a picture of the Blueprint, so you know what im talking about.
Ok i guess i fixed it completely. Calling the GotPickedUp function and destroying the Actor before finishing everything else was just stupid by me. I guess this error occurs when you delete an actor and still try to perform something with him.
But i still dont get why this only happens in the standalone.
Is he checking something else when compiling it?
For the record. I swapped the two functions in the first picture at the end.
If i remember correctly, i called the GotPickedUp function and from there the function PickUpItem of the Character and deleting the Item. After that the Character had nothing to work with. Still only causing crash in standalone.
Thanks for your support and sorry for this mass of text.
If i get this error again and cant solve it i will come back.