Pathoschild / SMAPI

The modding API for Stardew Valley.
https://smapi.io/
GNU Lesser General Public License v3.0
1.91k stars 268 forks source link

Freeze screen during Robin's construction and museum donations #917

Open spac3mitten opened 1 year ago

spac3mitten commented 1 year ago

I've been facing this issue from the start. I use SMAPI on mobile. My non SMAPI SDV doesn't have that problem so I'm sure it the game issue. I'd love to see some helpful responses. Thank you.<!--

IMG_20231014_113624

The screen freezes there. I can interact with my phone's functionalities but I can't with the game's.

jakerosado commented 1 year ago

What kind of device are you using? I've noticed mobile is very particular about what SMAPI even wants to function on e.g. emulating a Pixel 7 Pro has no issues with Robin or the museum donations, whereas SMAPI crashes on my personal Galaxy S23 Ultra when trying to launch it.

spac3mitten commented 1 year ago

@jakerosado im using poco c3. So you mean my phone's an issue here?

spac3mitten commented 1 year ago

@jakerosado I'm on poco c3. So that means my phone's an issue here?

jakerosado commented 1 year ago

Putting blame on your phone is the wrong line of thinking. Software compatibility for mobile devices is something that has to be fleshed out a little more, and, ideally, if your device can run the base Stardew Valley game, then accompanying mods should be capable of the same. Please keep this issue open for the time being.

Dolglad commented 8 months ago

Is this happening to everyone or is it just mine?

jabermony commented 3 weeks ago

I've encountered this on PC and It appears to be related to gamepad mode.

I've been able to reproduce it reliably by going to Options and setting "Gamepad Mode" to "Force On". When in gamepad, reorganizing the museum or placing buildings the cursor will not follow the mouse and instead remain locked in place.

It is still possible to move the cursor, if the game is windowed, by switching focus to another window then clicking back on the game (the mouse will be invisible when hovering over the game but can still be positioned in this state). When the game is clicked and focus returns, the mouse will then jump to the location clicked and remain stuck in place until the process is repeated or the arrow keys are used to reposition it.

I've confirmed that this doesn't impact the base game without SMAPI. Although it may be related to issues that do occur in the base game, at least during my testing; When trying to navigate the inventory grid in the museum menu with the keyboard the cursor jumps from one edge of the screen to another, making it very tricky to precisely position, whereas the joystick has no problems and moves the cursor one entry at a time.

I expect that the base game has some odd special handling of the cursor in the museum and positioning of buildings for gamepad mode that somehow breaks when SMAPI is hooked in.

I can run further tests or provide more detail if needed.