Potential bug. NGO causes Nintendo Switch to freeze.
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 25/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- csharp, unity
- Domínio
- game-dev, networking
Direção de pesquisa
Reproduza o cenário de suspensão e retomada com um host e sem clientes e, em seguida, inspecione o nxdump em torno de NetworkTime__ctor_mD40214D6A925F3027C77DA7051C210F487C0CC55. Rastreie o loop suspeito de NetworkTime e verifique se o jogo é retomado sem um congelamento prolongado após uma suspensão estendida no Nintendo Switch.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Description
If you put the console to sleep for a long period of time the console will hang for a period of time.
Reproduce Steps
- Start the game or test project
- Start a host but do not let any client in
- Put the console sleep
- Wait a few hours (The longer it sleeps the longer will be the freeze)
- Turn the console back on and return to the game.
Actual Outcome
The game is frozen for a certain amount of time. After a while the game is playable again.
Expected Outcome
The game doesn't freeze and Gameplay continue, (Except when playing online)
Environment
- Unity Version: 2022.3.30f
- Netcode Version: 1.9
Additional Context
Looking at a nxdump, it seems like the game is freezing in some loop somewhere involving NetworkTime, I did not have the chance to look deeper but I wanted to bring more eyes on the issue. This was the "suspicious" part I found in the dump.
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NetworkTime__ctor_mD40214D6A925F3027C77DA7051C210F487C0CC55 (NetworkTime_t2E4697E4558B217C431021D2CC30A9306E778B5F* __this, uint32_t ___0_tickRate, int32_t ___1_tick, double ___2_tickOffset, const RuntimeMethod* method)
- Linguagem predominante
- C#
- Estrelas
- 2.3k
- Forks
- 461
- Merge médio
- 3d 16h
- PRs com merge (30d)
- 20
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de Unity-Technologies/com.unity.netcode.gameobjects
-
stat:awaiting-response stat:imported type:bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 68/100
Unity-Technologies/com.unity.netcode.gameobjects#4159 · 3 comentários ·
-
stat:reply-needed type:support
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
Unity-Technologies/com.unity.netcode.gameobjects#4095 · 10 comentários ·
-
stat:awaiting-triage stat:Investigating type:bug
Unity-Technologies/com.unity.netcode.gameobjects#3912 · 5 comentários · 1 responsável ·
-
Tracking type:feature-2.x
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
Unity-Technologies/com.unity.netcode.gameobjects#3870 · 5 comentários ·
-
Tracking type:feature
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
Unity-Technologies/com.unity.netcode.gameobjects#3830 · 7 comentários ·
Todas as issues de Unity-Technologies/com.unity.netcode.gameobjects
Issues semelhantes
-
type/automation type/tech-debt
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
-
t/bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
-
ci-failure-cause test-failure
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
-
area:auth FE mvp P3
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
klasolsson81/jobbliggaren#1788 ·