Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
fcfedc1
update
NoelStephensUnity Aug 30, 2022
2383088
update
NoelStephensUnity Aug 30, 2022
5c452e2
style
NoelStephensUnity Aug 30, 2022
0db6575
update
NoelStephensUnity Aug 30, 2022
80e598d
update
NoelStephensUnity Aug 30, 2022
02bc1f8
Merge branch 'develop' into fix/networktransform-extrapolation
NoelStephensUnity Aug 30, 2022
3221827
update
NoelStephensUnity Aug 30, 2022
24c1bbd
update
NoelStephensUnity Aug 30, 2022
540ce72
update
NoelStephensUnity Aug 30, 2022
03545b1
update
NoelStephensUnity Aug 30, 2022
e73450c
style
NoelStephensUnity Aug 30, 2022
60cfc39
test
NoelStephensUnity Aug 30, 2022
6d016f3
style
NoelStephensUnity Aug 30, 2022
ef175be
test update
NoelStephensUnity Aug 30, 2022
7fd99e4
style
NoelStephensUnity Aug 31, 2022
ca8394e
test
NoelStephensUnity Aug 31, 2022
728dd97
style
NoelStephensUnity Aug 31, 2022
cd85dd2
Merge branch 'develop' into fix/networktransform-extrapolation
NoelStephensUnity Aug 31, 2022
32dca2a
style
NoelStephensUnity Aug 31, 2022
c7dd00f
style
NoelStephensUnity Aug 31, 2022
836b7e8
style
NoelStephensUnity Aug 31, 2022
9a510a3
fix
NoelStephensUnity Aug 31, 2022
67c7c05
fix
NoelStephensUnity Aug 31, 2022
d5054a1
fix
NoelStephensUnity Aug 31, 2022
d00dbe7
update
NoelStephensUnity Aug 31, 2022
787a444
update and fix
NoelStephensUnity Sep 1, 2022
7cae6eb
test update
NoelStephensUnity Sep 1, 2022
e0ce663
update
NoelStephensUnity Sep 1, 2022
ca139d5
Merge branch 'develop' into fix/networktransform-extrapolation
ashwinimurt Sep 1, 2022
7fa5469
fix
NoelStephensUnity Sep 6, 2022
87852b3
fix
NoelStephensUnity Sep 6, 2022
018d900
fix
NoelStephensUnity Sep 6, 2022
8fe14f1
fix
NoelStephensUnity Sep 7, 2022
f1ab50f
Merge branch 'develop' into fix/networktransform-extrapolation
NoelStephensUnity Sep 7, 2022
f5b70c0
Merge branch 'develop' into fix/networktransform-extrapolation
ashwinimurt Sep 7, 2022
5ba1927
fix
NoelStephensUnity Sep 7, 2022
1edac87
update
NoelStephensUnity Sep 7, 2022
a113001
Merge branch 'develop' into fix/networktransform-extrapolation
NoelStephensUnity Sep 8, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions com.unity.netcode.gameobjects/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,15 @@ Additional documentation and release notes are available at [Multiplayer Documen

### Fixed

Comment thread
NoelStephensUnity marked this conversation as resolved.
- Fixed ClientRpcs always reporting in the profiler view as going to all clients, even when limited to a subset of clients by ClientRpcParams. (#2144)
- Fixed RPC codegen failing to choose the correct extension methods for FastBufferReader and FastBufferWriter when the parameters were a generic type (i.e., List<int>) and extensions for multiple instantiations of that type have been defined (i.e., List<int> and List<string>) (#2142)
- Fixed issue where `NetworkTransform` was not ending extrapolation for the previous state causing non-authoritative instances to become out of synch. (#2170)
- Fixed issue where `NetworkTransform` was not continuing to interpolate for the remainder of the associated tick period. (#2170)
- Fixed issue during `NetworkTransform.OnNetworkSpawn` for non-authoritative instances where it was initializing interpolators with the replicated network state which now only contains the transform deltas that occurred during a network tick and not the entire transform state. (#2170)
- Fixed issue where `NetworkTransform` was not honoring the InLocalSpace property on the authority side during OnNetworkSpawn. (#2170)
- Implicit conversion of NetworkObjectReference to GameObject will now return null instead of throwing an exception if the referenced object could not be found (i.e., was already despawned) (#2158)
- Fixed throwing an exception in OnNetworkUpdate causing other OnNetworkUpdate calls to not be executed. (#1739)
- Fixed warning resulting from a stray NetworkAnimator.meta file (#2153)
- Fixed ClientRpcs always reporting in the profiler view as going to all clients, even when limited to a subset of clients by `ClientRpcParams`. (#2144)
- Fixed RPC codegen failing to choose the correct extension methods for `FastBufferReader` and `FastBufferWriter` when the parameters were a generic type (i.e., List<int>) and extensions for multiple instantiations of that type have been defined (i.e., List<int> and List<string>) (#2142)
- Fixed throwing an exception in `OnNetworkUpdate` causing other `OnNetworkUpdate` calls to not be executed. (#1739)

## [1.0.1] - 2022-08-23

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ public void AddMeasurement(T newMeasurement, double sentTime)
return;
}

// Part the of reason for disabling extrapolation is how we add and use measurements over time.
// TODO: Add detailed description of this area in Jira ticket
if (sentTime > m_EndTimeConsumed || m_LifetimeConsumedCount == 0) // treat only if value is newer than the one being interpolated to right now
{
m_LastBufferedItemReceived = new BufferedItem(newMeasurement, sentTime);
Expand Down Expand Up @@ -292,7 +294,9 @@ public class BufferedLinearInterpolatorFloat : BufferedLinearInterpolator<float>
/// <inheritdoc />
protected override float InterpolateUnclamped(float start, float end, float time)
{
return Mathf.LerpUnclamped(start, end, time);
// Disabling Extrapolation:
// TODO: Add Jira Ticket
return Mathf.Lerp(start, end, time);
}

/// <inheritdoc />
Expand All @@ -311,13 +315,17 @@ public class BufferedLinearInterpolatorQuaternion : BufferedLinearInterpolator<Q
/// <inheritdoc />
protected override Quaternion InterpolateUnclamped(Quaternion start, Quaternion end, float time)
{
return Quaternion.SlerpUnclamped(start, end, time);
// Disabling Extrapolation:
// TODO: Add Jira Ticket
return Quaternion.Slerp(start, end, time);
}

/// <inheritdoc />
protected override Quaternion Interpolate(Quaternion start, Quaternion end, float time)
{
return Quaternion.SlerpUnclamped(start, end, time);
// Disabling Extrapolation:
// TODO: Add Jira Ticket
return Quaternion.Slerp(start, end, time);
}
}
}
Loading