AttachRootComponentToActor crashes multiplayer game
In Singleplayer mode it works fine but when I execute: PickupItem->AttachRootComponentToActor(this, "Socket_Root", EAttachLocation::SnapToTarget); while in multiplayer, the game crashes and triggers a breakpoint at the following line in SceneComponent.cpp:
Maybe I'm too tired but I can't find the problem.
EDIT: The Problem still persists in 4.8 and the following error pops up:
It happens when I spawn a player and instantly attach a bunch of gear-items to him as soon as he logs onto the server. When the game is already in progress, the very same command doesn't cause any issues.
I have some good news and some bad news.
The bad news is that I have not yet been able to pinpoint what the cause of this issue is. The good news is that I just realized that the callstack that I was getting with your project matches the callstack of a few reported crashes that some of our developers have been trying to fix.
They had not yet been able to reproduce the crash, so I updated the ticket (UE-19264) with the steps I used to reproduce the crash in your project. This crash is currently something of a priority, so the information to reproduce the crash should help them identify what is happening.
answered Aug 03 '15 at 06:50 PM
Tim C ♦♦ STAFF
Thank you for the additional test projects that were provided. I have created a new ticket to continue investigating this issue (UE-25221). With the additional information that was provided, I am hopeful that we will be able to pinpoint what is going wrong.
answered Jan 11 '16 at 08:33 PM
Tim C ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here