Commit Graph

260 Commits

Author SHA1 Message Date
Wojtek Figat
203f03a597 Add Write/Read methods to NetworkStream for INetworkSerializable sending in C# api 2024-04-22 23:25:19 +02:00
Wojtek Figat
6929a91312 Add support for manually dirtying objects that use ReplicationFPS < 0 for manual-only replication 2024-03-29 13:03:38 +01:00
Wojtek Figat
069445b94e Fix bug in NetworkReplicator::RemoveObject 2024-03-29 13:03:11 +01:00
Wojtek Figat
09f5ac0ed6 Fix networked objects dirtying for replication 2024-03-29 13:02:23 +01:00
Wojtek Figat
d719c381ea Merge remote-tracking branch 'origin/master' into 1.8 2024-03-11 23:49:33 +01:00
Wojtek Figat
53bd576ade Fix game settings serialization bug 2024-02-28 02:05:26 +01:00
Wojtek Figat
f1bc161ad2 Merge branch 'category-rework' of https://github.com/Tryibion/FlaxEngine into Tryibion-category-rework 2024-02-27 11:08:33 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
e2dd9832ba Fix crash when using network replication or rpc after hot-reload in Editor 2024-02-26 18:25:53 +01:00
Chandler Cox
8ee2bf8d76 Change category drop panel o look similar to other panels. Add flax engine scripts to flax engine category. 2024-02-20 21:00:20 -06:00
Wojtek Figat
04f1c9a59b Fix missing networked object ID resolving
#1607
2024-02-10 21:06:48 +01:00
Wojtek Figat
7f5dd78349 Merge branch 'null_networkdriver' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-null_networkdriver 2024-01-04 11:27:13 +01:00
Wiktor Kocielski
8e331e4d13 Silently drop unreliable RPC calls if we failed to find an object 2024-01-04 08:54:04 +03:00
f10840efb4 Fix uninitialized value of NetworkConfig NetworkDriver field 2023-12-29 19:51:29 +02:00
Wojtek Figat
1874382816 Various fixes to prefabs 2023-12-13 11:05:29 +01:00
Wojtek Figat
a909b57e82 Fix deadlock in NetworkManager when network peer returns invalid event type
#1992
2023-11-28 11:24:46 +01:00
Wojtek Figat
35ebdb0ffe Refactor INetworkDriver::PopEvent to use network event as output parameter rather than raw pointer
#1992
2023-11-28 11:24:17 +01:00
Wojtek Figat
9cd8c02911 Fix NetworkTransform to properly reject local simulation deltas on incoming authoritative transform data
#1907
2023-11-10 11:34:52 +01:00
Wojtek Figat
fa96707c57 Fix crash when implementing INetworkSerializable in C#-only
#1664
2023-10-11 18:39:51 +02:00
Wojtek Figat
d71c171412 Cleanup code in #1367 and fix api compatibility, revert joint changes 2023-09-28 13:10:58 +02:00
Wojtek Figat
2f9c601678 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-27 17:32:47 +02:00
Wojtek Figat
6621e70ae7 Add objects replication and RPC stats table to Network Profiler 2023-09-26 10:33:12 +02:00
Wojtek Figat
216a5e9f92 Add support for displaying all active Network Peer stats in Editor Profiler tab 2023-09-25 16:49:18 +02:00
Wojtek Figat
6a5e660c2e Merge remote-tracking branch 'origin/master' into 1.7 2023-09-02 19:02:52 +02:00
Wojtek Figat
21b90fb829 Fix crash when spawning large amount of network objects at once by sending spawn message in parts
#1344
2023-09-01 11:42:31 +02:00
Wojtek Figat
8906453b15 Merge remote-tracking branch 'origin/master' into 1.7 2023-08-28 09:11:29 +02:00
Wiktor Kocielski
87e36bcfd5 Stop replication if NetworkManager::NetworkFPS < 0 2023-08-25 02:44:23 +03:00
Wojtek Figat
f088f2b61d Merge remote-tracking branch 'origin/master' into 1.7 2023-08-18 10:33:51 +02:00
Wojtek Figat
06d8ff02b3 Merge branch 'foreignobject' of https://github.com/Withaust/FlaxEngine into Withaust-foreignobject 2023-08-14 18:29:10 +02:00
Wojtek Figat
0e2d1b6ad2 Merge remote-tracking branch 'origin/master' into 1.7 2023-08-14 18:14:59 +02:00
Wojtek Figat
66042845e4 Codestyle fixe 2023-08-14 16:13:55 +02:00
Wiktor Kocielski
1413da189e NetworkReplicator::ResolveForeignObject 2023-08-13 06:39:35 +03:00
Wiktor Kocielski
b35065ab3f Fix annoying error that happens due to an oversight 2023-08-12 03:58:28 +03:00
Wojtek Figat
e4c3461053 Merge remote-tracking branch 'origin/master' into 1.7 2023-07-03 22:01:50 +02:00
Wojtek Figat
8c006f6e11 Fix crash due to replicated objects leak upon system destruction 2023-06-30 10:00:12 +02:00
Wojtek Figat
70ab159dd4 Fix empty clients mask for NetworkReplicationHierarchy on client to properly replicate client-owned objects
#1205
2023-06-28 19:55:10 +02:00
Wojtek Figat
c0a5417108 Merge branch 'replicationnode' of https://github.com/Withaust/FlaxEngine into Withaust-replicationnode 2023-06-28 16:01:43 +02:00
Wojtek Figat
bb3cefbe54 Add check for NetworkClientsMask to ensure it has capacity 2023-06-28 15:48:32 +02:00
Wojtek Figat
b16a6199d0 Fix invoking Client RPC on Host client when it's not included in targetIds list 2023-06-28 14:52:58 +02:00
Wiktor Kocielski
6013705988 Implement object to cell caching for the grid 2023-06-26 17:32:19 +03:00
Wiktor Kocielski
65397621e9 Make GetObject virtual and implement for Grid 2023-06-26 17:12:48 +03:00
Wiktor Kocielski
cbd1e5c837 Add NetworkReplicationNode::GetObject 2023-06-25 23:39:59 +03:00
Wiktor Kocielski
028ccfca2e Update NetworkReplicationNode::AddObject 2023-06-23 13:14:59 +03:00
Wojtek Figat
6f487bcab5 Fix doc comment warning #1188 2023-06-19 18:05:00 +02:00
Wojtek Figat
f7e3480d79 Fix floating point comparison #1188 2023-06-19 18:01:25 +02:00
Wiktor Kocielski
46c406cc9e Implement optional object replication 2023-06-19 16:07:53 +03:00
Wojtek Figat
9b0fdb2cbd Disable assertions in Release build mode 2023-06-19 13:59:04 +02:00
Wojtek Figat
228ef4e130 Add objects ID inverse mapping from client to server for proper C# networking codegen 2023-06-18 19:27:46 +02:00
Wojtek Figat
7140c4a2d8 Merge remote-tracking branch 'origin/master' into 1.6 2023-06-11 21:38:20 +02:00
Wojtek Figat
5f8e5d44dc Fix RPC invoking on object with different ID but matching parent and type 2023-06-11 21:35:50 +02:00