Merge pull request #6170 from aws-lumberyard-dev/LYN-8770_PrintNetEntityNameIfImproperlyDeleted
Print Entity name if Improperly Deleted
This commit is contained in:
@@ -167,7 +167,10 @@ namespace Multiplayer
|
||||
|
||||
void NetBindComponent::Deactivate()
|
||||
{
|
||||
AZ_Assert(m_needsToBeStopped == false, "Entity appears to have been improperly deleted. Use MarkForRemoval to correctly clean up a networked entity.");
|
||||
AZ_Assert(
|
||||
m_needsToBeStopped == false,
|
||||
"Entity (%s) appears to have been improperly deleted. Use MarkForRemoval to correctly clean up a networked entity.",
|
||||
GetEntity() ? GetEntity()->GetName().c_str() : "null");
|
||||
m_handleLocalServerRpcMessageEventHandle.Disconnect();
|
||||
if (NetworkRoleHasController(m_netEntityRole))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user