Windows Problems

Hello

The game we offer does not use the fullscreen feature, just windowed, and we use Screen.SetResolution to toggle between two window sizes.

This works fine on the MacOSX application (not the widget), but our problem is that the Windows application does not work as needed.

We switch between 400x600 and 600x900. But the windows version only shows a window that is something around 500x400 that never changes, and the aspect ratio is lost.

Game speed is acceptable even for a low-spec machine, but the scenes are darker than those on Macs.

Could it be the computer I am using to test the game?

I use a Sony Laptop with a Pentium 4, at 2.8GHz, 448M RAM and Radeon IGP 345M

Andres

When switching to fullscreen, Unity can only switch to resolutions the monitor actual supports. Some machines don’t support common resolutions.

Windows generally uses different gamma correction by default than OS X. So your scenes usually end up a little darker on windows.

I think you missed this part of his post Joe, unless I’ve missed the point of his post.

Exactly, we never use the fullscreen feature, just windowed mode.

I just installed Parallels with Windows XP and I experience the same problem, now I was able to measure the window size, it is 640x480.

Additionally, I am not able to see the scene at all. The window is all black.

Please help!

Andres

File a bug and attach the project folder so we can reproduce the issue.

I haven’t had much luck with either Parallels or Fusion when it comes to running my Unity Windows builds. In Fusion it launches, gives me the launch/screen res window, and then most of my UnityGUI displays, but that’s about it. Keep in mind that both Parallels and Fusion support a small portion of DirectX, so this is probably not a Unity issue.

For now the only reliable way I’ve found to test Windows builds is on a true Windows machine. Fortunately, it doesn’t take much of a Windows machine to work.

OK, I will try it again with a better real machine.

I did another test downloading the TestScreenResolution posted here…
http://forum.unity3d.com/viewtopic.php?t=5941

And it does work but only in fullScreen mode, not in windowed mode.

Andres

Hello

A friend of mine tried the game on a powerful Windows machine (Turion 2.2, ATI1600) and got the same problem.

The initial game window was 640x480 instead of 400x600.

Joachim, can you please tell me how to file a bug?

Thanks
Andres

Use the Report Bug.app application next to Unity. Make sure to include the project folder so we can fully reproduce the issue.

On Windows even in windowed mode the window sizes are constrained to available resolutions. I guess this is what you’re experiencing. I guess the behaviour does not make much sense, we should lift that restriction someday.