File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
com.unity.netcode.gameobjects/Runtime Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments