Commit Graph

131 Commits

Author SHA1 Message Date
peter engstrom
8a9f3b4687 Iris - Fix issue causing lost state during an object being marked for destroy to never be resent. If the object ends up cancelling pending destroy this could cause state to be lost forever and also bitstream errors on objects with delta compression enabled.
#rnx

#rb mattias.hornlund

[CL 32115449 by peter engstrom in ue5-main branch]
2024-03-08 06:20:27 -05:00
mattias hornlund
47a014cc73 Iris
- Fixed issue with posting rpcs to out of scope subobjects being scheduled with internal index and transmitted with invalid object.

#rb Peter.Engstrom

[CL 31834068 by mattias hornlund in ue5-main branch]
2024-02-27 03:40:15 -05:00
mattias hornlund
1ed21b8927 Fixed compilation errors from 31718958
#jira UE-207435
#rb Peter.Engstrom

[CL 31719776 by mattias hornlund in ue5-main branch]
2024-02-22 09:13:27 -05:00
peter engstrom
b5d31cfb16 Iris - Keep reliability as is when splitting a NetBlob. Split unreliable multicast RPCs will now also keep their normal execution order.
#rb mattias.hornlund, louisphilippe.seguin
[FYI] ana.tsaplii

[CL 31719627 by peter engstrom in ue5-main branch]
2024-02-22 09:08:14 -05:00
steve robb
148d4c61d5 Deprecated TIsTriviallyDestructible.
#rb devin.doucette

[CL 31695997 by steve robb in ue5-main branch]
2024-02-21 15:55:03 -05:00
mattias hornlund
3cf1a7c722 Iris
- Modified FastArrayReplictionFragment to allow for partial dequantization when applying state data.
- Uses more memory which we should be able to optimize away.

#rb Peter.Engstrom

[CL 31578476 by mattias hornlund in ue5-main branch]
2024-02-16 15:45:58 -05:00
louisphilippe seguin
ce71ec31fd Iris
* Added NetRefHandle::GetInvalid() and replaced existing calls to FNetRefHandle() to GetInvalid()

#rnx
#rb Peter.Engstrom

[CL 31426712 by louisphilippe seguin in ue5-main branch]
2024-02-13 10:11:30 -05:00
bradley heath
f9ff87d287 Update Iris grid filtering to include an exact culling distance check.
#rb peter.engstrom, louisphilippe.seguin

[CL 31183994 by bradley heath in ue5-main branch]
2024-02-05 14:23:41 -05:00
peter engstrom
f2f2b01907 Iris - Don't destroy object until creation has been acked.
#rb Mattias.Hornlund

[CL 31050939 by peter engstrom in ue5-main branch]
2024-01-31 11:37:54 -05:00
peter engstrom
1990702982 Iris - Don't destroy dependent objects that haven't yet been created.
#rb Mattias.Hornlund

[CL 30997720 by peter engstrom in ue5-main branch]
2024-01-30 04:07:31 -05:00
mattias hornlund
ce9bef7c29 Iris - Fix issue where state changes accrued while going out of scope and later readded to scope was not dirtied correctly
#jira UE-204441
#rb Peter.Engstrom

[CL 30797159 by mattias hornlund in ue5-main branch]
2024-01-23 04:47:27 -05:00
louisphilippe seguin
31df80a222 Iris
* Renamed Poll phase to PollAndCopy
* Renamed CopyAndQuantize phase to Quantize


#rb Mattias.Hornlund, Peter.Engstrom

[CL 30659381 by louisphilippe seguin in ue5-main branch]
2024-01-17 11:13:22 -05:00
peter engstrom
26c3e561b8 Iris - Fix issue with subobjects not being destroyed as soon as possible. Validate object isn't pending destroy when marking dirty.
#rb Mattias.Hornlund

[CL 30630027 by peter engstrom in ue5-main branch]
2024-01-16 04:33:32 -05:00
chris constantinescu
4b539c383f Replication tests compilation errors on Linux and other platforms
#rb rob.huyett, Ryan.Gerleve, sebastian.lewicki
#jira UE-203730

[CL 30569736 by chris constantinescu in ue5-main branch]
2024-01-11 11:12:52 -05:00
louisphilippe seguin
244ca2179b Iris
* Added unitest testing when one object causes a push model dirty change on a different object inside PreReplication

#rnx
#rb Ryan.Gerleve

[CL 30328251 by louisphilippe seguin in ue5-main branch]
2023-12-14 14:40:06 -05:00
mattias hornlund
da81a3d888 Iris
- Fixed floating point precistoin bug with really high priorities which caused issues with scheduling of dependent objects
- Caused issues with scopes on weapons.

#rb LouisPhilippe.Seguin

[CL 30319125 by mattias hornlund in ue5-main branch]
2023-12-14 09:30:23 -05:00
chris constantinescu
61dabd85af Replycation System Tests: fix unreachable code
#rb sebastian.lewicki
#jira UE-202417

[CL 30265237 by chris constantinescu in ue5-main branch]
2023-12-12 11:28:08 -05:00
louisphilippe seguin
75ee0efac9 Iris
* Added unit test for setting a push model property dirty from inside PreNetUpdate

#rnx
#rb Mattias.Hornlund

[CL 30237765 by louisphilippe seguin in ue5-main branch]
2023-12-11 09:52:34 -05:00
peter engstrom
b18f75f0cb Iris - Update world locations for spatially filtered objects that are assumed to be able to move.
#rb LouisPhilippe.Seguin

[CL 30118545 by peter engstrom in ue5-main branch]
2023-12-05 10:08:32 -05:00
mattias hornlund
926232ad2d Network
- Improved handling of ack history overruns which will no longer cause false negatives, if we overshoot ackhistorybuffer client will now  flush the sequence history before accepting new data packets.

Added FNetPacketNotify::IsSequenceWindowFull. Make DataStreamChannel use the new functionality since some DataStreams require all sent packets to be correctly ACKed or NAKed. DataStreamChannel can spare a few packets, controlled via cvar net.Iris.PacketSequenceSafetyMargin which currently defaults to 4, in order to allow other channels to send data without breaking DataStreamChannel.

Moved NetPacketNotifyTests into TestNetPacketNotify.

#rb Peter.Engstrom,Mattias.hornlund

[CL 30074498 by mattias hornlund in ue5-main branch]
2023-12-04 05:34:08 -05:00
peter engstrom
7a0d3fc25f Iris - Added dependent actor test with dynamic filtering
#rb mattias.hornlund

[CL 29916993 by peter engstrom in ue5-main branch]
2023-11-24 04:26:27 -05:00
peter engstrom
86e3e192af Iris - Added Rotator3f and Rotator3d NetSerializers.
#rb Mattias.Hornlund

[CL 29717939 by peter engstrom in ue5-main branch]
2023-11-14 13:01:27 -05:00
peter engstrom
4388392eb3 Iris - Add concept of Ordered RPCs. Unicast RPCs are now ordered with respect to reliable RPCs and other unicast RPCs targeting the same actor. From client to server all reliable and unicast RPCs are ordered with respect to eachother, regardless of target actor.
#rb mattias.hornlund,louisphilippe.seguin

[CL 29515709 by peter engstrom in ue5-main branch]
2023-11-07 04:52:47 -05:00
bradley heath
737729cc7d Enable truncation warnings in ReplicationSystemTestPlugin.
#jira UE-165096
#rb LouisPhilippe.Seguin, Peter.Engstrom

[CL 29487648 by bradley heath in ue5-main branch]
2023-11-06 09:55:13 -05:00
bradley heath
e1435066c5 Disable unsafe type case warnings in ReplicationSystemTestPlugin.
#jira UE-165096

[CL 29241419 by bradley heath in ue5-main branch]
2023-10-30 14:20:04 -04:00