Commit ba35384
chore: merge release 2.2.0 back into develop-2.0.0 (#3179)
* update
updating package
* update
updating changelog
* update
moving minimum editor back down to 6000.0
* fix
Fixing the changelog version goof of mine.
Making the license copyright just a year and not year range.
* style
removing whitespace from copyright notice.
adding dash to changelog header
* style
Removing whitespaces for PVP-124-2 issues.
* style
missed one whitespace...
* chore: merge develop 2 0 0 updates with SessionOwner permissions (#3176)
* fix: clamp spawntimeout to recommended range (#3174)
* update
Clamping spawntimeout
* update
improving parenting failed message when either the child or parent NetworkObject is not spawnd.
* update
Update the local SceneEventData.SceneEventType on the authority side for SceneLoadComplete.
* style
removing whitespaces
* feat: Add a SessionOwner ObjectStatus and allow InScenePlaced network objects to be distributed (#3175)
* Initial pass on SessionOwner ownership flag
* feat: Add SessionOwner OwnershipStatus flag
* update
removing additional session owner accessor.
* Add OwnershipPermissions tests
* fix client connect
* Revert "fix client connect"
This reverts commit 3c3b354.
* update
object distribution for in-scene placed NetworkObjects needs to use the InScenePlacedSourceGlobalObjectIdHash when building an object distribution list.
* Add changelog
* Remove unnecessary change
* Remove Settings.json
* Reword CHANGELOG
* fix
DAHost should not distribute session owner permission NetworkObjects.
When client is promoted to session owner, for now newly promoted client takes ownership of NetworkObjects that have the SessionOwner permission set.
Only prevent non-session owners from taking ownership of a NetworkObject with the SessionOwner permission set.
* test fix
Avoid the RemoveOwnership client-server only method.
* style
Visual studio code cleanup likes to sort by alpha... fixing for our standards.
* update
Adding check for session owner trying to change ownership to a non-session owner client.
* test
Adding an additional validation that a non-session owner cannot change ownership and that a session owner cannot change ownership to a non-session owner when the NetworkObject in question has the SessionOwner permissions set.
---------
Co-authored-by: NoelStephensUnity <[email protected]>
---------
Co-authored-by: Emma <[email protected]>
* fix
NetworkAnimator started throwing this exception:
"Objects are trying to be loaded during a domain backup. This is not allowed as it will lead to undefined behaviour!"
When MPPM was being used. This has to do with the OnBeforeSerialize method and potentially an order of operations issue.
We can accomplish the same serialization within OnValidate, but went ahead and made it virtual in order to provide users with the ability to override and handle their own validation.
* fix: server, host, or session owner not populating in-scene placed object table when started (#3177)
* fix
This fixes the issue with the server, host, or session owner not adding in-scene placed NetworkObjects to its internal table if the scene was loaded prior to starting the NetworkManager.
* update
Adding change log entry
* update
Adding PR# to this entry.
* style
remove whitespace
* update
adding unreleased change log
---------
Co-authored-by: Emma <[email protected]>1 parent 628868a commit ba35384
File tree
22 files changed
+169
-139
lines changed- com.unity.netcode.gameobjects
- Editor
- Runtime
- Components
- Core
- Messaging
- Messages
- RpcTargets
- Serialization
- Spawning
- Samples~/Bootstrap/Scripts
- Tests/Runtime
- NetworkTransform
- NetworkVariable
- Prefabs
22 files changed
+169
-139
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
10 | 19 | | |
11 | 20 | | |
12 | 21 | | |
| |||
16 | 25 | | |
17 | 26 | | |
18 | 27 | | |
| 28 | + | |
19 | 29 | | |
20 | 30 | | |
21 | 31 | | |
| |||
216 | 226 | | |
217 | 227 | | |
218 | 228 | | |
219 | | - | |
220 | | - | |
| 229 | + | |
| 230 | + | |
221 | 231 | | |
222 | 232 | | |
223 | 233 | | |
| |||
353 | 363 | | |
354 | 364 | | |
355 | 365 | | |
| 366 | + | |
356 | 367 | | |
357 | 368 | | |
358 | 369 | | |
| |||
365 | 376 | | |
366 | 377 | | |
367 | 378 | | |
| 379 | + | |
368 | 380 | | |
369 | 381 | | |
370 | 382 | | |
| |||
414 | 426 | | |
415 | 427 | | |
416 | 428 | | |
417 | | - | |
| 429 | + | |
418 | 430 | | |
419 | 431 | | |
420 | 432 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
202 | | - | |
| 201 | + | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
Lines changed: 30 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
302 | | - | |
303 | 301 | | |
304 | 302 | | |
305 | 303 | | |
306 | 304 | | |
307 | 305 | | |
308 | | - | |
309 | 306 | | |
310 | 307 | | |
311 | 308 | | |
| |||
323 | 320 | | |
324 | 321 | | |
325 | 322 | | |
326 | | - | |
327 | 323 | | |
328 | 324 | | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
329 | 335 | | |
330 | 336 | | |
331 | 337 | | |
332 | 338 | | |
333 | 339 | | |
334 | 340 | | |
335 | 341 | | |
336 | | - | |
| 342 | + | |
337 | 343 | | |
338 | 344 | | |
339 | 345 | | |
| |||
416 | 422 | | |
417 | 423 | | |
418 | 424 | | |
419 | | - | |
420 | | - | |
| 425 | + | |
| 426 | + | |
421 | 427 | | |
422 | 428 | | |
423 | 429 | | |
| |||
493 | 499 | | |
494 | 500 | | |
495 | 501 | | |
496 | | - | |
| 502 | + | |
497 | 503 | | |
498 | 504 | | |
499 | 505 | | |
| |||
731 | 737 | | |
732 | 738 | | |
733 | 739 | | |
734 | | - | |
| 740 | + | |
735 | 741 | | |
736 | 742 | | |
737 | 743 | | |
| |||
806 | 812 | | |
807 | 813 | | |
808 | 814 | | |
809 | | - | |
810 | | - | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
811 | 819 | | |
812 | 820 | | |
813 | 821 | | |
| |||
881 | 889 | | |
882 | 890 | | |
883 | 891 | | |
884 | | - | |
| 892 | + | |
| 893 | + | |
885 | 894 | | |
886 | 895 | | |
887 | 896 | | |
| |||
899 | 908 | | |
900 | 909 | | |
901 | 910 | | |
902 | | - | |
| 911 | + | |
| 912 | + | |
903 | 913 | | |
904 | 914 | | |
905 | 915 | | |
| |||
1115 | 1125 | | |
1116 | 1126 | | |
1117 | 1127 | | |
1118 | | - | |
| 1128 | + | |
1119 | 1129 | | |
1120 | 1130 | | |
1121 | 1131 | | |
| |||
1264 | 1274 | | |
1265 | 1275 | | |
1266 | 1276 | | |
1267 | | - | |
| 1277 | + | |
1268 | 1278 | | |
1269 | 1279 | | |
1270 | 1280 | | |
| |||
1471 | 1481 | | |
1472 | 1482 | | |
1473 | 1483 | | |
1474 | | - | |
| 1484 | + | |
1475 | 1485 | | |
1476 | 1486 | | |
1477 | 1487 | | |
| |||
1482 | 1492 | | |
1483 | 1493 | | |
1484 | 1494 | | |
1485 | | - | |
| 1495 | + | |
1486 | 1496 | | |
1487 | 1497 | | |
1488 | 1498 | | |
| |||
1548 | 1558 | | |
1549 | 1559 | | |
1550 | 1560 | | |
1551 | | - | |
| 1561 | + | |
1552 | 1562 | | |
1553 | 1563 | | |
1554 | 1564 | | |
| |||
1564 | 1574 | | |
1565 | 1575 | | |
1566 | 1576 | | |
1567 | | - | |
| 1577 | + | |
| 1578 | + | |
Lines changed: 19 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
546 | 546 | | |
547 | 547 | | |
548 | 548 | | |
549 | | - | |
| 549 | + | |
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
| |||
849 | 849 | | |
850 | 850 | | |
851 | 851 | | |
852 | | - | |
| 852 | + | |
853 | 853 | | |
854 | | - | |
| 854 | + | |
855 | 855 | | |
856 | | - | |
857 | | - | |
858 | | - | |
859 | | - | |
860 | | - | |
861 | | - | |
862 | | - | |
863 | | - | |
864 | | - | |
| 856 | + | |
865 | 857 | | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
866 | 863 | | |
867 | | - | |
| 864 | + | |
868 | 865 | | |
869 | | - | |
870 | | - | |
871 | | - | |
872 | | - | |
873 | | - | |
874 | | - | |
875 | | - | |
876 | | - | |
877 | | - | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
878 | 872 | | |
879 | 873 | | |
880 | 874 | | |
881 | 875 | | |
882 | 876 | | |
883 | | - | |
884 | | - | |
| 877 | + | |
| 878 | + | |
0 commit comments