You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 15, 2022. It is now read-only.
Master Branch commit 8d131e0 (latest as of today)
Unity 2018.3.0f2
Windwdos 10
Expected behavior:
When ownership changes, interpolated field variables of a networkObject are identical on both the new owner and other connected clients.
Non-interpolated fields work as expected.
Actual behavior:
The variable on the non-owner client is unequal to the value on the owner. However, Interpolation.current holds the correct value from the owner.
See my post on discord (forge-bugs @ 18.01.2019 15:03) for a little more information.
Steps to reproduce:
Setup TestOwnerSwitch with the Forge Network Contract Wizard with a field rotation - Quaternion - Interpolate Checked - 0.15 and another field rotationNoInterp - Quaternion - Interpolate Unchecked
Create a script named OwnerSwitchTester.cs with the content of the attached txt file. OwnerSwitchTester.txt
Setup a forge networked game with two clients and spawn one GameObject with the OwnerSwitchTester script attached to it on the server.
Try either case:
4.1 Press 1 on the client, then press 2 on the server.
4.2 Press 2 on the client, then press 3 on the server.
The output on the client shows a wrong value for rotation = ... on the non-owner client. The interp = and rotationNoInterp = ... values are correct.
p.s. I use Log Viewer from DREAMMAKERSGROUP from the unity asset store to show the output log of a build game.
[Optional] Discord Username:
Adrian_H
The text was updated successfully, but these errors were encountered:
Hey,
sadly right now I am very busy with work and won't be able to provide you a minimal working project.
The project where we found the issue is way too large to strip down. However, I hope that the steps to reproduce are detailed enough to replicate the issue.
Best,
Adrian
Version Number and Operating System(s):
Master Branch commit 8d131e0 (latest as of today)
Unity 2018.3.0f2
Windwdos 10
Expected behavior:
When ownership changes, interpolated field variables of a networkObject are identical on both the new owner and other connected clients.
Non-interpolated fields work as expected.
Actual behavior:
The variable on the non-owner client is unequal to the value on the owner. However, Interpolation.current holds the correct value from the owner.
See my post on discord (forge-bugs @ 18.01.2019 15:03) for a little more information.
Steps to reproduce:
OwnerSwitchTester.txt
4.1 Press 1 on the client, then press 2 on the server.
4.2 Press 2 on the client, then press 3 on the server.
p.s. I use Log Viewer from DREAMMAKERSGROUP from the unity asset store to show the output log of a build game.
[Optional] Discord Username:
Adrian_H
The text was updated successfully, but these errors were encountered: