Is it posible to implement ServerRewind with NetworkTransform?
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 20/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- csharp, unity
- Lĩnh vực
- game-dev, networking
Hướng nghiên cứu
Bắt đầu với tài liệu NetworkTransform và mục ServerRewind trong roadmap, sau đó so sánh hành vi authority của chúng với ví dụ sử dụng hai NetworkVariable trong repository được liên kết. Xác định liệu việc thay đổi authority trong runtime và hỗ trợ rewind có được dự định hay không, đồng thời ghi lại cách tiếp cận được hỗ trợ hoặc phạm vi các thay đổi NetworkTransform cần thiết.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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?
- Ngôn ngữ chính
- C#
- Star
- 2.3k
- Fork
- 461
- Merge trung bình
- 3 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 20
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Unity-Technologies/com.unity.netcode.gameobjects
-
stat:import type:bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 68/100
-
stat:reply-needed type:support
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
Unity-Technologies/com.unity.netcode.gameobjects#4095 · 10 bình luận ·
-
stat:awaiting-triage stat:Investigating type:bug
Unity-Technologies/com.unity.netcode.gameobjects#3912 · 5 bình luận · 1 người được giao ·
-
Tracking type:feature-2.x
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Unity-Technologies/com.unity.netcode.gameobjects#3870 · 5 bình luận ·
-
Please error, or at least warn, when a managed type is included in INetworkSerializeByMemcpy Đang mởTracking type:feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Unity-Technologies/com.unity.netcode.gameobjects#3830 · 7 bình luận ·
Tất cả issue của Unity-Technologies/com.unity.netcode.gameobjects
Issue tương tự
-
type/automation type/tech-debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
t/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
ci-failure-cause test-failure
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
area:auth FE mvp P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
klasolsson81/jobbliggaren#1788 ·