Steps to reproduce:
Open GM_Eden.ent in world editor and go to play mode.
Destroy a tree (for instance, by clipping a vehicle with GM)
Spawn as a character and look at the stump
Execute the code below in the remote console:
IEntity stumpEntity = GetGame().GetCameraManager().CurrentCamera().GetCursorTarget();
Print(stumpEntity);
EntityID stumpID = stumpEntity.GetID();
PrintFormat("EntityID: %1", stumpID);
PrintFormat("Is EntityID valid: %1", stumpID != EntityID.INVALID);
Print(stumpEntity.GetWorld().FindEntityByID(stumpID));
The last line will return null, indicating that FindEntityByID failed to retrieve the stump.
Additional Notes:
- The issue was not observed so far on GM_Arland.ent