Commit Graph

8 Commits

Author SHA1 Message Date
mattias hornlund
228791254f Iris
- Added support for sending attachments flagged as SendImmediate from PostDispatchTick

#jira UE-122456
#rb Peter.Engstrom

[CL 28318795 by mattias hornlund in ue5-main branch]
2023-09-28 10:58:24 -04:00
louisphilippe seguin
320f31002c Iris
* Split scope bitarray into GlobalScopeList and ScopeFrameData
* The GlobalScopeList is always up to date and should mostly be used outside the NetTickFlush update
* ScopeFrameData is synced at the start of NetTickFlush and valid until the end of the SendUpdate().
* The lists contained in ScopeFrameData are now protected from illegal access outside of NetTickFlush
* Added ensures that prevents creating new replicated root object during the SendUpdate operations.
* Added ensures that prevent changing filter conditions during the SendUpdate operations.
* Added support for replication of subobjects created inside a PreReplication callback.

#jira UE-195717
#rb Mattias.Hornlund, Peter.Engstrom
#rnx

[CL 28100078 by louisphilippe seguin in ue5-main branch]
2023-09-21 15:36:01 -04:00
mattias hornlund
797dde7c6b Iris
- Implemented initial support for being able to skip over data for objects that fail to be instantiated

#rb Peter.Engstrom

[CL 27371360 by mattias hornlund in ue5-main branch]
2023-08-25 05:15:41 -04:00
louisphilippe seguin
a45acac5be Iris
* Poll configs are now set using Frequency (updates per second) instead of frames between polls.
* This allows the poll configs to work with any type of server tick rate
* Added ability to recover a given object's poll frequency via GetPollFrequencyOfRootObject
* ActorReplicationBridge will now listen to changes in server tick rates and reinitalize the poll frame updates of all objects via ReinitPollFrequency()

#jira UE-185786
#rb Peter.Engstorm
#rnx

[CL 25894242 by louisphilippe seguin in ue5-main branch]
2023-06-09 11:12:03 -04:00
peter engstrom
4260085021 Iris - Offset poll frame when adding new objects to a specific interval to spread them out across frames, leading to more stable CPU times for polling.
Note that there's no rebalancing code so as objects get out of scope and new objects are created an inbalance may occur eventually.

#preflight 642d42fdda7f958370c7567b
#rnx
#rb mattias.hornlund

[CL 24926362 by peter engstrom in ue5-main branch]
2023-04-05 08:50:34 -04:00
mattias hornlund
7683177063 Iris
- Fixed bug when Tearing off objects with no replicated state data.
- Fixed bug where subobject owner would not be marked dirty when we dropped creation info for SubObject which then would not replicate until the next time owner was marked dirty.
- Fixed bug where client could get a bitstream error if we got a replicated destroy for a not yet created SubObject
- Updated tests
- Fixed issue with NetTrace not working propertly with ReplicationSystemTest program

#rb Peter.Engstrom
#preflight 63ce9200ef20a5272d87d66d

[CL 23814990 by mattias hornlund in ue5-main branch]
2023-01-23 12:22:11 -05:00
Peter Engstrom
b4ad801e74 Iris - Implemented globally unique NetHandles.
#jira UE-158304
#preflight 637604bebf76990b711695dd
#review-id 22809226
#rb mattias.hornlund, ryan.gerleve

[CL 23174328 by Peter Engstrom in ue5-main branch]
2022-11-17 07:11:09 -05:00
Peter Engstrom
4aae8d3ed0 Iris experimental replication system.
Initial submit, compiled out by default.

#rb Peter.Engstrom,Mattias.Hornlund,Brian.Bekich,Ryan.Gerleve,John.Barrett
#jira UE-158381
#preflight /62cd6fc7ad490b52da0515a3

[CL 21068370 by Peter Engstrom in ue5-main branch]
2022-07-13 03:11:55 -04:00