In the ClassificationSystem the following is incorrect
for (int i = 0; i < ghostPrefabTypes.Length; ++i) { if (ghostPrefabTypes[i].GhostPrefab == prefabEntity) m_GhostType = ghostPrefabTypes[i].GhostType.GetHashCode(); }
it should instead be
for (int i = 0; i < ghostPrefabTypes.Length; ++i) { if (ghostPrefabTypes[i].GhostPrefab == prefabEntity) m_GhostType = i; }
as the GhostType in this case refers to the index in the GhostCollectionPrefab singleton collection, not a unique identifier hashcode.