Skip to content

Commit 48473d7

Browse files
Merge develop-2.0.0 into fix/queue-size-error
2 parents 3c593ff + b8fa7d6 commit 48473d7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

com.unity.netcode.gameobjects/Runtime/Components/RigidbodyContactEventManager.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,13 @@ public void Execute(int index)
374374

375375
var result = new JobResultStruct()
376376
{
377+
#if UNITY_6000_3_0A6_OR_HIGHER
378+
ThisInstanceID = PairedHeaders[index].bodyEntityId,
379+
OtherInstanceID = PairedHeaders[index].otherBodyEntityId,
380+
#else
377381
ThisInstanceID = PairedHeaders[index].bodyInstanceID,
378382
OtherInstanceID = PairedHeaders[index].otherBodyInstanceID,
383+
#endif
379384
AverageNormal = averageNormal,
380385
HasCollisionStay = collisionStaycount != 0,
381386
AverageCollisionStayNormal = averageCollisionStay,

com.unity.netcode.gameobjects/Runtime/Unity.Netcode.Runtime.asmdef

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@
7777
"name": "Unity",
7878
"expression": "6000.1.0a1",
7979
"define": "HOSTNAME_RESOLUTION_AVAILABLE"
80+
},
81+
{
82+
"name": "Unity",
83+
"expression": "6000.3.0a6",
84+
"define": "UNITY_6000_3_0A6_OR_HIGHER"
8085
}
8186
],
8287
"noEngineReferences": false

0 commit comments

Comments
 (0)