07th-mod / 07th-mod/umineko-question

Mouse movements making the game stutter and crash

Aberta
#181 9 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
C#
Estrelas
98
Forks
10
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Hey there. First and foremost, love the team's work and the mod. I recently changed my PC and upgraded to a Beefy system (9800X3D + RX 7900 XTX with 32 gigs of ram) and got an issue that I didn't have with my old system (2600X + RTX2060 + 16gigs)

I got an issue with the game stuttering and crashing when I move the mouse around. The issue happens regardless of if I'm in Fullscreen or in Windowed mode. At first I thought I'd just go and only use my keyboard or my controller to play the game since the issue only happens when I'm moving the mouse around but I think I found a weird fix? (At least one that works as I'm writing this issue) So less than a complaint for the mod not working, I'm mostly here to report on a bizarre solution I stumbled upon while testing.

It's quite simple, I just changed my Monitor's refresh rate. I have an oled monitor that goes up to 240hz but I don't use this refresh rate all the time to save some energy and I was running my monitor at 180 when experiencing this crash. At first I thought it was because the game is not supposed to run at such high refresh rate but when testing at 60 it still stuttered a lot. As a last ditch effort I turned my refresh rate to 240hz and.. nothing. Not a stutter in sight.

I was wondering if anyone did experience the same thing as I didn't found anything about this on the support page in the [wiki](https://wiki.07th-mod.com/Support/) and wanted to offer some help if some people were in the same boat as I was before finding this weird solution.

Thanks a lot for reading, and thanks again for the incredible mod.

[Small edit : After further testing today, it seems the issue is not solved by simply setting de monitor's refresh rate to 240hz (or setting it to the max possible setting for any monitor maybe?) I launched the game today and did make sure to have the refresh rate set up to 240 but I did stutter again. I tried setting the monitor back to 60 and then to 240 and it worked. So maybe it needs to be setup while the game is running? I dunno. If anyone has any insight I'd be glad to hear it)

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

Analise o código de manipulação de entrada, provavelmente em um script da Unity ou em um gerenciador de entrada personalizado. Verifique a pesquisa do mouse ou o processamento de eventos vinculados à taxa de quadros ou à taxa de atualização do monitor. Reproduza o engasgo alternando as taxas de atualização enquanto o jogo está em execução. Uma correção pode envolver desacoplar a entrada do tempo de exibição.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Domínio
game-dev
Tipo de issue
Bug
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.