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

Mouse movements making the game stutter and crash

未關閉
#181 9 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C#
星號
98
分支
10
PR 合併指標
30 天內沒有已合併 PR

描述

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)

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

查看輸入處理程式碼,可能在 Unity 腳本或自訂輸入管理器中。檢查與幀率或顯示器更新率綁定的滑鼠輪詢或事件處理。透過在遊戲執行時切換更新率來重現卡頓問題。修復方法可能涉及將輸入與顯示時序解耦。

由索引模型根據 Issue 內容生成。

評估

領域
game-dev
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。