Commit 834bcdf
chore: update usage of deprecated FindObjectsByType<T>(FindObjectsSortMode) and enum FindObjectSortMode (#3857)
* update
Funneling all find object related calls into a single static method in order to simplify the current, and any future, updates/changes to FindObjectsByType.
* update
Making FindObjects internal.
* update
Adjusted to explicit handling of the update within test project script to avoid having to make FindObjects public.
* update
Adding [MethodImpl(MethodImplOptions.AggressiveInlining)] attribute to the T[] FindObjectsByType<T>() method.
* style
Removing unused using directives.
Removing CR.
* Update com.unity.netcode.gameobjects/Runtime/Core/FindObjects.cs
Co-authored-by: Emma <emma.mcmillan@unity3d.com>
* update
Adding same condition define, NGO_FINDOBJECTS_NOSORTING, to the testproject.manualtests assembly define.
* update
Added more precise Unity engine versions to asmdef files to assure earlier versions of 6000.4 and 6000.5 still use the previous API.
Renamed FindObjects.FindObjectsByType to FindObjects.ByType
Updated FindObject.ByType to be able to sort by identifier and include inactive objects.
* update
Adding sort by identifier to two locations that require sorting by identifier.
* style
Added missing whitespace
* update
increasing the 6000.5 version from 5.0a6 to 5.0a7 as it appears trunk is currently 5.0a6 (which doesn't have the deprecation merged into it yet).
* update
updating minimum for deprecated fix to 6000.5.0a8.
* update
This "should" fix the Rust server issue... I think?
(Tested local instance on 6000.5.0a7 and it passes everything)
* update
adding change log entry
* update
Re-targeting 6000.5.0a7 as the version of unity with the FindObjectsByType changes.
* update
Moving changelog entry into the unreleased section.
---------
Co-authored-by: Emma <emma.mcmillan@unity3d.com>1 parent 1b658bd commit 834bcdf
File tree
27 files changed
+151
-195
lines changed- com.unity.netcode.gameobjects
- Editor
- Runtime
- Core
- SceneManagement
- Spawning
- Tests/Runtime
- NetworkObject
- NetworkVariable
- Prefabs
- Rpc
- TestHelpers
- testproject/Assets/Tests
- Manual
- SceneTransitioningAdditive
- Scripts
- Runtime
27 files changed
+151
-195
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
Lines changed: 41 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2729 | 2729 | | |
2730 | 2730 | | |
2731 | 2731 | | |
2732 | | - | |
2733 | | - | |
2734 | | - | |
2735 | | - | |
2736 | | - | |
2737 | | - | |
| 2732 | + | |
2738 | 2733 | | |
2739 | 2734 | | |
2740 | 2735 | | |
| |||
Lines changed: 3 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
| 371 | + | |
377 | 372 | | |
378 | 373 | | |
379 | 374 | | |
| |||
917 | 912 | | |
918 | 913 | | |
919 | 914 | | |
920 | | - | |
921 | | - | |
922 | | - | |
923 | | - | |
924 | | - | |
| 915 | + | |
925 | 916 | | |
926 | 917 | | |
927 | 918 | | |
| |||
1049 | 1040 | | |
1050 | 1041 | | |
1051 | 1042 | | |
1052 | | - | |
1053 | | - | |
1054 | | - | |
1055 | | - | |
1056 | | - | |
| 1043 | + | |
1057 | 1044 | | |
1058 | | - | |
1059 | | - | |
1060 | 1045 | | |
1061 | 1046 | | |
1062 | 1047 | | |
| |||
Lines changed: 4 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1369 | 1369 | | |
1370 | 1370 | | |
1371 | 1371 | | |
1372 | | - | |
1373 | | - | |
1374 | | - | |
1375 | | - | |
1376 | | - | |
| 1372 | + | |
1377 | 1373 | | |
1378 | 1374 | | |
1379 | 1375 | | |
| |||
1404 | 1400 | | |
1405 | 1401 | | |
1406 | 1402 | | |
1407 | | - | |
1408 | | - | |
1409 | | - | |
1410 | | - | |
1411 | | - | |
| 1403 | + | |
1412 | 1404 | | |
1413 | 1405 | | |
1414 | 1406 | | |
| |||
1463 | 1455 | | |
1464 | 1456 | | |
1465 | 1457 | | |
1466 | | - | |
1467 | | - | |
1468 | | - | |
1469 | | - | |
1470 | | - | |
| 1458 | + | |
1471 | 1459 | | |
1472 | 1460 | | |
1473 | 1461 | | |
| |||
1498 | 1486 | | |
1499 | 1487 | | |
1500 | 1488 | | |
1501 | | - | |
1502 | | - | |
1503 | | - | |
1504 | | - | |
1505 | | - | |
| 1489 | + | |
1506 | 1490 | | |
1507 | 1491 | | |
1508 | 1492 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
90 | 100 | | |
91 | 101 | | |
92 | 102 | | |
| |||
Lines changed: 2 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
| 281 | + | |
287 | 282 | | |
288 | 283 | | |
289 | 284 | | |
| |||
761 | 756 | | |
762 | 757 | | |
763 | 758 | | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
| 759 | + | |
769 | 760 | | |
770 | 761 | | |
771 | 762 | | |
| |||
Lines changed: 2 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 32 | + | |
41 | 33 | | |
42 | 34 | | |
43 | 35 | | |
| |||
69 | 61 | | |
70 | 62 | | |
71 | 63 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 64 | + | |
82 | 65 | | |
83 | 66 | | |
84 | 67 | | |
| |||
0 commit comments