UseReferentialEquality
If set, components are not compared bit-wise. Bit-wise comparison implies that two components that have references to entities that have the same GUID but different indices/versions are different. Similarly blob asset references to blob assets that have the same hash but live at different addresses will be considered different as well. This is often not desirable. For these cases, it is more apt to check that GUIDs and hashes match.
Read time 1 minuteLast updated 3 days ago
Definition
- Type: Field
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
UseReferentialEquality = 64
Remarks
This makes comparing components potentially more expensive.