Download

Displaying Widget Crashes Server

So I finally have my widget and item complete, everything works great. When I run it in local game after uploading (ie. single player), it works just fine. When I run it on the server, it crashes the server completely when I attempt to equip the item.

Any clues as to what could be happening?

This is what I get when I run the editor dedicated.



Assertion failed: InPlayerController->IsLocalPlayerController() [File:F:\UE4\UnrealEngine\Engine\Source\Runtime\Engine\Private\LocalPlayer.cpp] [Line: 134] 



KERNELBASE.dll!UnknownFunction (0x00007ff86a451f08) + 0 bytes [UnknownFile:0]
UE4Editor-Core.dll!UnknownFunction (0x00007ff848b910b4) + 0 bytes [UnknownFile:0]
UE4Editor-Core.dll!UnknownFunction (0x00007ff848aa90a8) + 0 bytes [UnknownFile:0]
UE4Editor-Core.dll!UnknownFunction (0x00007ff848a74d02) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff82b272f7e) + 0 bytes [UnknownFile:0]
UE4Editor-UMG.dll!UnknownFunction (0x00007ff8278728fd) + 0 bytes [UnknownFile:0]
UE4Editor-UMG.dll!UnknownFunction (0x00007ff8278d2504) + 0 bytes [UnknownFile:0]
UE4Editor-UMG.dll!UnknownFunction (0x00007ff8279bf53a) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff848f3fe14) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff848fb1f2e) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff848fdd772) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff84900556b) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff848fdeb9e) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff848fb244a) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff848fdeb9e) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff848f3fe14) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff848fde393) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff82af55a21) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff82af01f39) + 0 bytes [UnknownFile:0]
UE4Editor-ShooterGame.dll!APrimalBuff::BeginPlay() (0x00007ff82574821e) + 0 bytes [f:\ue4\unrealengine\projects\shootergame\source\shootergame\private\primalbuff.cpp:109]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff82af51f2f) + 0 bytes [UnknownFile:0]
UE4Editor-ShooterGame.dll!APrimalBuff::AddBuff() (0x00007ff825748087) + 0 bytes [f:\ue4\unrealengine\projects\shootergame\source\shootergame\private\primalbuff.cpp:494]
UE4Editor-ShooterGame.dll!APrimalBuff::StaticAddBuff() (0x00007ff82574b5d9) + 55 bytes [f:\ue4\unrealengine\projects\shootergame\source\shootergame\private\primalbuff.cpp:506]
UE4Editor-ShooterGame.dll!APrimalBuff::execStaticAddBuff() (0x00007ff825d8316a) + 234 bytes [f:\ue4\unrealengine\projects\shootergame\source\shootergame\classes\primalbuff.h:9]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff848f3fe14) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff848fb1f2e) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff848fdd772) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff84900556b) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff848fdeb9e) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff848fb244a) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff848fdeb9e) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff848f3fe14) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff848fde393) + 0 bytes [UnknownFile:0]
UE4Editor-ShooterGame.dll!UPrimalItem::BlueprintEquipped() (0x00007ff825b1988b) + 0 bytes [f:\ue4\unrealengine\projects\shootergame\intermediate\build\win64\inc\shootergame\shootergame.generated.cpp:878]
UE4Editor-ShooterGame.dll!UPrimalItem::EquippedItem() (0x00007ff82581d253) + 0 bytes [f:\ue4\unrealengine\projects\shootergame\source\shootergame\private\primalitem.cpp:917]
UE4Editor-ShooterGame.dll!UPrimalItem::AddToInventory() (0x00007ff8258171d4) + 0 bytes [f:\ue4\unrealengine\projects\shootergame\source\shootergame\private\primalitem.cpp:588]
UE4Editor-ShooterGame.dll!UPrimalInventoryComponent::ServerEquipItem() (0x00007ff82580f1f7) + 117 bytes [f:\ue4\unrealengine\projects\shootergame\source\shootergame\private\primalinventorycomponent.cpp:362]
UE4Editor-ShooterGame.dll!AShooterPlayerController::ServerEquipPawnItem_Implementation() (0x00007ff8259c0629) + 13 bytes [f:\ue4\unrealengine\projects\shootergame\source\shootergame\private\shooterplayercontroller.cpp:3006]
UE4Editor-ShooterGame.dll!AShooterPlayerController::execServerEquipPawnItem() (0x00007ff825d7d7ec) + 108 bytes [f:\ue4\unrealengine\projects\shootergame\source\shootergame\classes\shooterplayercontroller.h:42]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff848f3fe14) + 0 bytes [UnknownFile:0]
UE4Editor-CoreUObject.dll!UnknownFunction (0x00007ff848fde242) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff82af55a21) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff82b05b1be) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff82b056fe9) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff82b05c1f0) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff82b05ee8f) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff82b05e9eb) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff82b05eca3) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff82b37fef2) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff82b380753) + 0 bytes [UnknownFile:0]
UE4Editor-OnlineSubsystemUtils.dll!UnknownFunction (0x00007ff837a465ec) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff82b344fa7) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff82ae42724) + 0 bytes [UnknownFile:0]
UE4Editor-Engine.dll!UnknownFunction (0x00007ff82b2e6018) + 0 bytes [UnknownFile:0]
UE4Editor-UnrealEd.dll!UnknownFunction (0x00007ff829b91282) + 0 bytes [UnknownFile:0]
UE4Editor-UnrealEd.dll!UnknownFunction (0x00007ff829ff5606) + 0 bytes [UnknownFile:0]
UE4Editor.exe!UnknownFunction (0x00007ff6be9694c4) + 0 bytes [UnknownFile:0]
UE4Editor.exe!UnknownFunction (0x00007ff6be95ed0f) + 0 bytes [UnknownFile:0]
UE4Editor.exe!UnknownFunction (0x00007ff6be95ed7a) + 0 bytes [UnknownFile:0]
UE4Editor.exe!UnknownFunction (0x00007ff6be96ab40) + 0 bytes [UnknownFile:0]
UE4Editor.exe!UnknownFunction (0x00007ff6be96ba79) + 0 bytes [UnknownFile:0]
KERNEL32.DLL!UnknownFunction (0x00007ff86b378102) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007ff86d42c264) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007ff86d42c264) + 0 bytes [UnknownFile:0]


Where are you getting the controller?

-WM

Lets just say, I had a very hard lesson in Server/Client replication. I will probably be posting graphs once I have everything nailed down and am comfortable releasing the source. I also need to get the mod released first before I ‘open source’ it.