[Linux] Nowhere Prophet starts on wrong monitor

Issue #49 new
Robert von Volland created an issue

The game starts on the wrong monitor (I have two). I've tried editing the prefs file at ~/.config/unity3d/Sharkbomb Studios/Nowhere Prophet/ and changing the UnitySelectMonitor value to -1 (which normally works) but this seems to be automatically reset to zero when I next launch the game.

I'm using KDE Plasma 5. It's easy enough to move the game to the correct monitor via the window manager but it would be better if it defaulted to the correct screen.

For reference, my main monitor has value -1 in Unity and my secondary monitor (actually a TV) takes value 0. My main monitor is configured as position 0,0 in the nVidia settings, and the secondary 'to the right of'.

Comments (5)

  1. Democritus repo owner

    This is unfortunately something I'm having trouble addressing. I'm not doing anything in regards to the monitor positioning so I believe this is all Unity behavior. Which may be buggy. The game's not being developed on the most up to date version - for multiple reasons. I may update the unity version and that may fix things and I'll google the issue see if there's a workaround, but I can make no promises.

  2. Democritus repo owner

    Question: Are you sure that it's -1 in Unity? It may be different based on the Unity version. Have you tried setting different values in the player prefs? Say 1 for example.

    Also: If you open the game, move the monitor to the new position and close the game, are the PlayerPrefs updated?

    Lastly: Unfortunately I'm still on a Unity version that does not have proper multi-display support so I can't seem to do much here.

  3. Robert von Volland reporter

    Also: If you open the game, move the monitor to the new position and close the game, are the PlayerPrefs updated?

    No, they aren't.

    Question: Are you sure that it's -1 in Unity?

    Yes, on several other Unity games I have the setting for my left monitor is -1.

    With regard to the Unity version, I have read somewhere that more recent version may fix this behaviour. As I say it's not a showstopper but it would be a nice-to-have. Still a great game, though!

  4. Democritus repo owner

    Yeah, give the fact that Unity 5.4 has pretty minimal multi-display support it'll be tough to fix this from my end. And an upgrade to a newer Unity version is something I want to undertake eventually but right now it'd take too much time for too little gain. There's more important things to deal with.

  5. Log in to comment