Commit Graph

230 Commits

Author SHA1 Message Date
NoriteSC 6ab2e540a3 Bug Fixes
script and actors not having connect transform in on awake and in on start

join auto anchor having wrong anchor because was including scale

fixed selection do to changes to transform accessibility ?
2023-08-25 14:51:49 +02:00
mafiesto4 06d8ff02b3 Merge branch 'foreignobject' of https://github.com/Withaust/FlaxEngine into Withaust-foreignobject 2023-08-14 18:29:10 +02:00
mafiesto4 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
mafiesto4 8c006f6e11 Fix crash due to replicated objects leak upon system destruction 2023-06-30 10:00:12 +02:00
mafiesto4 70ab159dd4 Fix empty clients mask for NetworkReplicationHierarchy on client to properly replicate client-owned objects
#1205
2023-06-28 19:55:10 +02:00
mafiesto4 c0a5417108 Merge branch 'replicationnode' of https://github.com/Withaust/FlaxEngine into Withaust-replicationnode 2023-06-28 16:01:43 +02:00
mafiesto4 bb3cefbe54 Add check for NetworkClientsMask to ensure it has capacity 2023-06-28 15:48:32 +02:00
mafiesto4 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
mafiesto4 6f487bcab5 Fix doc comment warning #1188 2023-06-19 18:05:00 +02:00
mafiesto4 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
mafiesto4 228ef4e130 Add objects ID inverse mapping from client to server for proper C# networking codegen 2023-06-18 19:27:46 +02:00
mafiesto4 7140c4a2d8 Merge remote-tracking branch 'origin/master' into 1.6 2023-06-11 21:38:20 +02:00
mafiesto4 5f8e5d44dc Fix RPC invoking on object with different ID but matching parent and type 2023-06-11 21:35:50 +02:00
mafiesto4 81ae687238 Merge remote-tracking branch 'origin/master' into 1.6 2023-05-28 16:34:38 +02:00
mafiesto4 3e906686db Improve #1119 to use a bit flag for object sync 2023-05-28 13:30:14 +02:00
Wiktor Kocielski a21abaac84 Implement INetworkObject::OnNetworkSync and make INetworkObject just virtual 2023-05-27 04:12:46 +03:00
mafiesto4 694980160b Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Source/Editor/CustomEditors/CustomEditorsUtil.cs
#	Source/Engine/Networking/NetworkReplicator.cpp
#	Source/Engine/Scripting/ManagedCLR/MUtils.cpp
#	Source/Tools/Flax.Build/Bindings/BindingsGenerator.Cpp.cs
2023-05-24 23:28:38 +02:00
mafiesto4 90d633fb2d Minor improvements to new replication hierarchy 2023-05-24 22:59:22 +02:00
mafiesto4 9986d62a28 Fix crash when scripting object gets deleted while it exists in NetworkReplicationHierarchy 2023-05-24 12:06:09 +02:00
mafiesto4 2c1f6e561a Fix replication regression from eb2fc0f02f 2023-05-24 11:52:32 +02:00
mafiesto4 c4f57d19db Fix network replicator incorrect error message filter 2023-05-24 10:52:59 +02:00
mafiesto4 eb2fc0f02f Add **Network Replication Hierarchy** for robust control over replication in multiplayer games 2023-05-24 09:46:38 +02:00
mafiesto4 4879b9bd90 Add CPU profiler events to various networking functions 2023-05-23 16:11:34 +02:00
mafiesto4 1b8b585367 Optimize network replication when no client can receive object 2023-05-21 22:38:48 +02:00
mafiesto4 0d3bae3761 Minor adjustment to #1105 so the local client state is reflected as connecting 2023-05-17 21:37:55 +02:00
mafiesto4 fc5ff3feb7 Merge branch 'spawnqueueownership' of https://github.com/Withaust/FlaxEngine into Withaust-spawnqueueownership 2023-05-17 21:26:26 +02:00
Wiktor Kocielski f0564e0b06 Fix NetworkReplicator::SetObjectOwnership not considering spawn queue for hierarchical asignment 2023-05-17 03:34:03 +03:00
Wiktor Kocielski 31fb25a43d Fix dispatch order regression 2023-05-17 02:28:45 +03:00
mafiesto4 70593177c7 Add NetworkReplicator::HasObject 2023-05-16 14:58:47 +02:00
mafiesto4 953ae3e9bb Fix hierarchical network ownership propagation to sub-objects
#1066
2023-05-16 14:58:16 +02:00
mafiesto4 64f3f1e9bc Add network error log for missing network object when accessing ownership
#1066
2023-05-16 13:08:25 +02:00
mafiesto4 5a66e90b56 Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	.github/workflows/tests.yml
#	Source/Engine/Content/JsonAsset.cs
2023-05-07 19:46:29 +02:00
mafiesto4 0a5d37fd9b Add support for spawning multiple objects over network within a single group that is not from Prefabs
#1066
2023-05-07 19:40:31 +02:00
mafiesto4 531d005169 Fix accessing object ownership info locally before object gets fully spawned
#1066
2023-05-07 19:39:57 +02:00
mafiesto4 4131e15f0e Fix deprecation warnings 2023-05-07 10:46:13 +02:00
mafiesto4 390460907d Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Source/Editor/Scripting/CodeEditors/VisualStudioCodeEditor.cpp
#	Source/Tools/Flax.Build/Deps/Dependencies/OpenAL.cs
2023-04-22 18:59:41 +02:00
Wiktor Kocielski a1f225d2ef [C++] NetTransform copy-paste mistake fix 2023-04-21 18:57:41 +03:00
mafiesto4 9322a2006a Post merge fixes for new dotnet7 2023-04-17 14:04:08 +02:00
mafiesto4 67b373c6df Merge remote-tracking branch 'origin/master' into 1.6 2023-04-17 13:18:08 +02:00
mafiesto4 f5c9dce34a Fix network RPC object id mapping back to server id when sent from client 2023-04-16 18:55:31 +02:00
mafiesto4 e4804db160 Add NetworkRpcParams for sending RPC to specific set of clients or to read sender id 2023-04-15 12:04:40 +02:00
mafiesto4 a52b352bd9 Add NetworkManager::GetClient by uint32 clientId 2023-04-14 15:03:16 +02:00
mafiesto4 62fdfe2519 Add NetworkStream::SenderId to detect message sender during object replication or RPC code 2023-04-14 14:25:18 +02:00