Commit Graph

318 Commits

Author SHA1 Message Date
mafiesto4 652fbf9a52 Add security limits for network to avoid too many messages processing 2026-09-09 06:02:37 +02:00
mafiesto4 9ded33b717 Fix danging replication queue items and parts after client disconnected 2026-09-07 12:26:59 +02:00
mafiesto4 bfd603169b Fix ENet network driver to use 3 separate channels for different packet types 2026-09-07 11:46:58 +02:00
mafiesto4 5fb99ffe2d Fix ENet packet leak after receive event 2026-09-06 13:15:34 +02:00
mafiesto4 8f163632a7 Fix various edge-cases in network replication system to avoid crashes 2026-09-04 12:08:34 +02:00
mafiesto4 83bb6fa632 Fix missing network messages reading init to avoid crashes on incorrect message 2026-09-04 11:46:51 +02:00
mafiesto4 9da8bde34b Add utility functions for network replicator streams 2026-09-04 11:41:34 +02:00
mafiesto4 ba231ed56d Refactor NetworkMessage and NetworkStream to handle errors gracefully, including in Release builds 2026-09-04 11:41:11 +02:00
mafiesto4 df229983fd Fix attribute style 2026-09-04 11:03:48 +02:00
mafiesto4 3fa73c2d69 Minor improvements 2026-08-23 14:32:38 +02:00
mafiesto4 882a826360 Add option to hide debug commands (eg. one auto-added within container class) 2026-06-19 14:48:50 +02:00
mafiesto4 cdf82df326 Add docs about conditional features in public API 2026-04-14 16:55:43 +02:00
mafiesto4 2fc95bdf57 Merge remote-tracking branch 'origin/master' into 1.12
# Conflicts:
#	Content/Editor/MaterialTemplates/Deformable.shader
#	Flax.flaxproj
#	Source/Engine/Content/Content.h
#	Source/Engine/Serialization/JsonTools.cpp
2026-04-01 17:14:21 +02:00
mafiesto4 b2d1d0f1d9 Fix sending replication message to newly connected clients for objects that were not spawned
#4029
2026-03-31 13:13:33 +02:00
mafiesto4 1df608e902 Remove deprecated NetworkDriverType 2026-02-12 16:43:01 +01:00
Menotdan 78e5baf6a5 Fix replicating changes from one client to another 2026-02-05 19:12:21 -05:00
mafiesto4 2b6339c05c Minor code cleanup 2025-12-14 22:58:53 +01:00
mafiesto4 bb91202439 Merge branch 'late_join_fix' of https://github.com/VitaminCpp/FlaxEngine into VitaminCpp-late_join_fix 2025-12-14 22:49:49 +01:00
mafiesto4 ee51077f49 Merge branch 'replication_hashing_fix' of https://github.com/VitaminCpp/FlaxEngine into VitaminCpp-replication_hashing_fix 2025-12-14 22:43:58 +01:00
Michael Herzog 56beca0db4 Fixed network replicated-object deduplication by hashing/equality on ObjectId
Aligned NetworkReplicatedObject equality with its hash (compare ObjectId, not pointer).
2025-11-27 23:28:17 +01:00
Michael Herzog 0007185b5f Fixed late-join network replication
- Adjusted replication to resend unchanged state only to missing clients.
- Skip server serialization when no recipients, and downgrade unknown-despawn noise.
2025-11-26 17:54:49 +01:00
Michael Herzog 465f30661f Minor memory layout optimization 2025-11-25 17:36:49 +01:00
mafiesto4 7c3c4f1a63 Add Network RPC messages splitting for large arguments payloads
#3776
2025-10-30 22:40:23 +01:00
mafiesto4 114828adcb Refactor NetworkReplicator update into separate function for cleaner code 2025-10-30 17:12:49 +01:00
mafiesto4 02c5ad3fa4 Fix particles to support any amount of contexts drawings 2025-09-25 18:38:46 +02:00
mafiesto4 bffb175a9b Code fixes 2025-06-07 01:25:22 +02:00
mafiesto4 c639a3103c Add memory profiling events to the main areas of the engine 2025-05-22 04:47:01 +02:00
mafiesto4 9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
mafiesto4 2ab9adab24 Merge remote-tracking branch 'origin/master' into 1.10 2025-02-24 23:27:56 +01:00
mafiesto4 44e894f406 Remove unused default value codegen 2025-02-21 15:07:09 +01:00
mafiesto4 cf40facefe Add engine fatal error types handling
Add general out-of-memory handling
Add safety memory buffer for crash or out of memory handling
Refactor Globals exit/error state to be in Engine class
2025-01-24 20:07:12 +01:00
mafiesto4 668f3fa68d Update read and write streaming api to use the newest format 2024-12-29 23:00:40 +01:00
mafiesto4 9d70fd82d6 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Networking/NetworkReplicator.cpp
2024-11-22 16:31:18 +01:00
envision3d 8af74e2062 Remap object id for role change message 2024-11-08 05:04:40 -06:00
mafiesto4 a1b3610af8 Enable network object ids remapping for host or server too to fix custom object ids map
#3042
2024-11-07 13:57:26 +01:00
mafiesto4 851e0b4239 Check for valid object id to map 2024-11-06 23:58:14 +01:00
mafiesto4 246944f688 Merge remote-tracking branch 'origin/master' into 1.10 2024-11-06 09:29:48 +01:00
mafiesto4 853e7cb6f7 Add NetworkReplicator.AddObjectIdMapping for global/custom network objects sync
#3042
2024-11-05 16:37:23 +01:00
ldkuba 2715df7cf2 Fix NetworkManager not resetting LastUpdateTime
NetworkManager did not reset the LastUpdateTime variable to 0 when
stopping. This lead to wrong behaviour in Update when Stopped and
Started multiple times.
2024-10-30 15:16:45 +01:00
mafiesto4 c94052513e Add object replication data cache and send via Reliable channel to reduce data transfer 2024-10-15 19:47:09 +02:00
mafiesto4 60ed23105d Fix typo 2024-10-15 12:33:51 +02:00
mafiesto4 ac832a0e81 Optimize network transform replication 2024-10-15 11:24:10 +02:00
mafiesto4 b957733150 Fixes 2024-10-14 23:35:41 +02:00
mafiesto4 7e4d7743a4 Add Quaternion quantization for network stream
Reduced send rate by 56% in average. Identity quat is just 8-bits (flags)
Added tests with full-sphere rotation to ensure this works correctly.
2024-10-14 22:32:29 +02:00
mafiesto4 b38af8fd00 Format code and add debug cmd attributes 2024-10-14 12:12:48 +02:00
mafiesto4 443fe5dbcb Add network keys table to optimize ids and names sending over network
#2815
2024-10-14 12:11:20 +02:00
mafiesto4 c063afc5bc Fix GetObject/SetObject usage in network replication hierarchy 2024-09-30 14:52:05 +02:00
mafiesto4 dd5b66386a Fix compilation regression from 5f7075d2f7 2024-09-29 22:25:44 +02:00
mafiesto4 bf4badd6b9 Merge branch 'networklagdriver-fix' of https://github.com/LOOPDISK/FlaxEngine into LOOPDISK-networklagdriver-fix 2024-09-29 22:10:29 +02:00
mafiesto4 5f7075d2f7 Add NetworkReplicationNode::SetObject to customize object replication settings at runtime 2024-09-29 22:08:31 +02:00