Description

Editor crashes with 2 or more Clients when spawning a Blueprint created from a Static Mesh using the Blueprint/Add Script button. Blueprints created from Static Meshes using other methods do not cause the same problem. The crash error message is:

Assertion failed: RemoteRole == ROLE_Authority [Link Removed] [Line: 2432]

Reproduced in 4.7.6, 4.8 Preview 2, and Main (//depot/UE4/Promotable-CL-2550487), though crashing in Main did not provide a call stack and crashed much faster.

Crash Report:
[Link Removed]

Call Stack:
UE4Editor_Engine! AActor::PostNetInit() actor.cpp:2434
UE4Editor_Engine! UActorChannel::ProcessBunch() datachannel.cpp:1916
UE4Editor_Engine! UActorChannel::ReceivedBunch() datachannel.cpp:1787
UE4Editor_Engine! UChannel::ReceivedSequencedBunch() datachannel.cpp:262
UE4Editor_Engine! UChannel::ReceivedNextBunch() datachannel.cpp:588
UE4Editor_Engine! UChannel::ReceivedRawBunch() datachannel.cpp:344
UE4Editor_Engine! UNetConnection::ReceivedPacket() netconnection.cpp:979
UE4Editor_Engine! UNetConnection::ReceivedRawPacket() netconnection.cpp:457
UE4Editor_OnlineSubsystemUtils! UIpNetDriver::TickDispatch() ipnetdriver.cpp:174
UE4Editor_Engine! TBaseUObjectMethodDelegateInstance<0,UNetDriver,void __cdecl() delegateinstancesimpl_variadics.inl:772
UE4Editor_Engine! TBaseMulticastDelegate<void,float>::Broadcast() delegatesignatureimpl_variadics.inl:1030
UE4Editor_Engine! UWorld::Tick() leveltick.cpp:1027
UE4Editor_UnrealEd! UEditorEngine::Tick() editor.cpp:1329
UE4Editor_UnrealEd! UUnrealEdEngine::Tick() unrealedengine.cpp:347
UE4Editor! FEngineLoop::Tick() launchengineloop.cpp:2257
UE4Editor! GuardedMain() launch.cpp:142
UE4Editor! GuardedMainWrapper() launchwindows.cpp:126
UE4Editor! WinMain() launchwindows.cpp:202

Steps to Reproduce

1. Open a new blank project
2. Add a Static Mesh to the level
3. In the Details panel, use the Blueprint/Add Script button
4. In the new Blueprint, set Replicates to True
5. In the Level Blueprint, Event Begin Play > Spawn Actor from Class
6. PIE with Number of Players set to 2

Result:
Crash

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Cannot Reproduce
ComponentUE - Networking
Affects Versions4.7.64.84.9
Target Fix4.11
CreatedMay 14, 2015
ResolvedFeb 22, 2016
UpdatedApr 27, 2018
View Jira Issue