Skip to content

Commit 7bf3336

Browse files
committed
Use ToULong instead of GetHashCode
1 parent d3382ce commit 7bf3336

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • com.unity.formats.alembic/Runtime/Scripts/Importer

com.unity.formats.alembic/Runtime/Scripts/Importer/AbcAPI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ struct aiContext
325325
#if UNITY_6000_4_OR_NEWER
326326
public static aiContext Create(EntityId uid)
327327
{
328-
return NativeMethods.aiContextCreate(uid.GetHashCode());
328+
return NativeMethods.aiContextCreate(EntityId.ToULong(uid));
329329
}
330330
#endif
331331

0 commit comments

Comments
 (0)