Commit 5bff58f
fix: post 2.0.0-pre.2 fixes and updates (#2962)
* chore: updating changelog and package.json (#2952)
* updating changelog and package.json
* adding date
* fix: rotation not being 1.0 issue using rigid body for motion (#2954)
* fix
this fixes the issue where a quaternion could potentially be close to 1.0 but off by a very very very small amount. Under this scenario, we Normalize the quaternion prior to invoking MoveRotation.
* feat: up-port of network variable traits, anticipation, serialized null references, and removal of animator component requirement (#2957)
* update
This contains the updates for PR-2820 (Anticipated NetworkVariable and NetworkTransform) with minor adjustments based on updates in the v2.0.0 branch.
Updating the package version.
Adding updated changelog entries.
up-port of PR-2872
up-port of PR-2874.
updating change log file
* fix
Even if the service specifies to synchronize, if scene management is disabled then do not synchronize.
* fix
Removing some of the logic to determine if session owner should synchronize a connecting client or not.
* fix
Fixing issue with spawning objects within OnInSceneObjectsSpawned and OnNetworkSessionSynchronized primarily on the session owner side.
* update
Reducing the notification down to just synchronization since in-scene notification is called on the spawn sweep.
* test
Adding test for preventing spawning prior to being approved.
Adding tests for when spawning during NetworkBehaviour.OnInSceneObjectsSpawned or NetworkBehaviour.OnNetworkSessionSynchronized or both.
* fix
Up port of #2953
* update
Adding change log entries.
* style
removing white space
* update
reducing GC overhead during deferred despawn
* style
Removing whitespaces
* revert
Reverting deferred spawn update.
---------
Co-authored-by: Frank Luong <100299641+fluong6@users.noreply.github.com>1 parent 8b13c4e commit 5bff58f
File tree
17 files changed
+514
-45
lines changed- com.unity.netcode.gameobjects
- Runtime
- Core
- Messaging/Messages
- NetworkVariable
- Serialization
- SceneManagement
- Spawning
- testproject
- Assets/Tests
- Manual/IntegrationTestScenes
- Runtime
- Support
- ProjectSettings
17 files changed
+514
-45
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
9 | 22 | | |
10 | 23 | | |
11 | 24 | | |
| |||
Lines changed: 2 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1250 | 1250 | | |
1251 | 1251 | | |
1252 | 1252 | | |
1253 | | - | |
1254 | | - | |
1255 | | - | |
1256 | | - | |
1257 | | - | |
1258 | | - | |
1259 | 1253 | | |
1260 | | - | |
1261 | | - | |
1262 | | - | |
1263 | | - | |
| 1254 | + | |
1264 | 1255 | | |
1265 | 1256 | | |
1266 | 1257 | | |
| |||
1407 | 1398 | | |
1408 | 1399 | | |
1409 | 1400 | | |
1410 | | - | |
1411 | | - | |
1412 | | - | |
1413 | | - | |
1414 | | - | |
1415 | 1401 | | |
1416 | 1402 | | |
1417 | | - | |
1418 | | - | |
1419 | | - | |
1420 | | - | |
| 1403 | + | |
1421 | 1404 | | |
1422 | 1405 | | |
1423 | 1406 | | |
| |||
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1547 | 1547 | | |
1548 | 1548 | | |
1549 | 1549 | | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
1550 | 1555 | | |
1551 | 1556 | | |
1552 | 1557 | | |
| |||
2436 | 2441 | | |
2437 | 2442 | | |
2438 | 2443 | | |
2439 | | - | |
2440 | | - | |
| 2444 | + | |
| 2445 | + | |
2441 | 2446 | | |
2442 | | - | |
| 2447 | + | |
2443 | 2448 | | |
2444 | 2449 | | |
2445 | 2450 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
Lines changed: 2 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
| 227 | + | |
231 | 228 | | |
232 | 229 | | |
233 | 230 | | |
| |||
243 | 240 | | |
244 | 241 | | |
245 | 242 | | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | 243 | | |
254 | 244 | | |
255 | 245 | | |
| |||
261 | 251 | | |
262 | 252 | | |
263 | 253 | | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
| 254 | + | |
268 | 255 | | |
269 | 256 | | |
270 | 257 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
680 | 680 | | |
681 | 681 | | |
682 | 682 | | |
683 | | - | |
| 683 | + | |
684 | 684 | | |
685 | 685 | | |
686 | 686 | | |
| |||
731 | 731 | | |
732 | 732 | | |
733 | 733 | | |
734 | | - | |
| 734 | + | |
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
| |||
779 | 779 | | |
780 | 780 | | |
781 | 781 | | |
782 | | - | |
| 782 | + | |
783 | 783 | | |
784 | 784 | | |
785 | 785 | | |
| |||
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2436 | 2436 | | |
2437 | 2437 | | |
2438 | 2438 | | |
2439 | | - | |
2440 | | - | |
2441 | | - | |
2442 | | - | |
| 2439 | + | |
2443 | 2440 | | |
2444 | 2441 | | |
2445 | 2442 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1863 | 1863 | | |
1864 | 1864 | | |
1865 | 1865 | | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
1866 | 1877 | | |
1867 | 1878 | | |
0 commit comments