Is it posible to implement ServerRewind with NetworkTransform?
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- csharp, unity
- Área
- game-dev, networking
Línea de trabajo
Comienza con la documentación de NetworkTransform y la entrada de la hoja de ruta de ServerRewind; después, compara su comportamiento de authority con el ejemplo de dos NetworkVariable del repositorio enlazado. Determina si los cambios de authority en tiempo de ejecución y la compatibilidad con rewind están previstos, y documenta el enfoque compatible o el alcance de los cambios necesarios en NetworkTransform.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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?
- Lenguaje dominante
- C#
- Estrellas
- 2.3k
- Forks
- 461
- Merge medio
- 3 d 16 h
- PR fusionados (30 d)
- 20
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Unity-Technologies/com.unity.netcode.gameobjects
-
stat:awaiting-response stat:imported type:bug
Dificultad 4/5 3-5 días Aptitud para principiantes 68/100
Unity-Technologies/com.unity.netcode.gameobjects#4159 · 3 comentarios ·
-
stat:reply-needed type:support
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
Unity-Technologies/com.unity.netcode.gameobjects#4095 · 10 comentarios ·
-
stat:awaiting-triage stat:Investigating type:bug
Unity-Technologies/com.unity.netcode.gameobjects#3912 · 5 comentarios · 1 asignado ·
-
Tracking type:feature-2.x
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Unity-Technologies/com.unity.netcode.gameobjects#3870 · 5 comentarios ·
-
Please error, or at least warn, when a managed type is included in INetworkSerializeByMemcpy AbiertoTracking type:feature
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Unity-Technologies/com.unity.netcode.gameobjects#3830 · 7 comentarios ·
Todos los issues de Unity-Technologies/com.unity.netcode.gameobjects
Issues similares
-
[Feat] 조합 영역 구분선 개선 Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
type/automation type/tech-debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
t/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
ci-failure-cause test-failure
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100