Is it posible to implement ServerRewind with NetworkTransform?
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 20/100
- Issue 類型
- 功能
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- csharp, unity
- 領域
- game-dev, networking
研究方向
先從 NetworkTransform 文件和 ServerRewind 路線圖項目開始,然後將它們的 authority 行為與連結儲存庫中的兩個 NetworkVariable 範例進行比較。判斷執行階段 authority 變更和 rewind 支援是否為預期功能,並記錄受支援的方法或所需 NetworkTransform 變更的範圍。
由索引模型根據 Issue 內容生成。
描述
Hello, im currently studying Unity and I started not so long ago using Netcode for GameObjects.
I started following the Unity docs and everything went smoothly until I faced NetworkTransforms, I tried movement with server autority and client autority, witch both worked fine, however I was unable to make a ServerRewind movement method.
I tried having multiple NetworkTransforms with changed autorities (with OnIsServerAuthoritative true and false) and changing them in runtime, needless to say, this didn't work nor changing the OnIsServerAuthoritative method via variable as the method seems to only been called once.
I searched for ways to implement ServerRewind in Netcode for GameObjects but I found zero information about it.
Eventually I managed to do it using 2 NetworkVariables, with write permisions both on server and client and exchanging them values whenever needed (I have an example in my repo if anyone is curious).
I know that ServerRewind is currently on the roadmap, but as it is currently, is there any way for implementing it with NetworkTransforms?
- 主要語言
- C#
- 星號
- 2.3k
- 分支
- 461
- 平均合併
- 3 天 16 小時
- 30 天內合併 PR
- 20
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
Unity-Technologies/com.unity.netcode.gameobjects 的其他 Issue
-
stat:import type:bug
難度 4/5 3-5 天 新手友好度 68/100
-
stat:reply-needed type:support
難度 4/5 3-5 天 新手友好度 55/100
Unity-Technologies/com.unity.netcode.gameobjects#4095 · 10 則留言 ·
-
stat:awaiting-triage stat:Investigating type:bug
Unity-Technologies/com.unity.netcode.gameobjects#3912 · 5 則留言 · 已指派 1 人 ·
-
Tracking type:feature-2.x
難度 5/5 一週以上 新手友好度 35/100
Unity-Technologies/com.unity.netcode.gameobjects#3870 · 5 則留言 ·
-
Tracking type:feature
難度 4/5 3-5 天 新手友好度 48/100
Unity-Technologies/com.unity.netcode.gameobjects#3830 · 7 則留言 ·
查看 Unity-Technologies/com.unity.netcode.gameobjects 的全部 Issue
相似的 Issue
-
type/automation type/tech-debt
難度 2/5 1-3 小時 新手友好度 78/100
-
bug
難度 2/5 1-3 小時 新手友好度 88/100
-
t/bug
難度 2/5 1-3 小時 新手友好度 82/100
-
ci-failure-cause test-failure
難度 2/5 1-3 小時 新手友好度 82/100
-
area:auth FE mvp P3
難度 2/5 1-3 小時 新手友好度 88/100
klasolsson81/jobbliggaren#1788 ·