darealshinji / UnityEngine2deb

Create Debian packages of Unity Engine games
https://unity3d.com/get-unity/download/archive
Other
16 stars 2 forks source link

Display Problems #4

Closed terrenana closed 6 years ago

terrenana commented 6 years ago

there are some problems with the display the actual window opens below my screen and i cant play screenshot is attached pic

darealshinji commented 6 years ago

What game are you trying to run? Is there a ScreenSelector.png file present? Is there any useful information if you start the game from a terminal? Does the game start if you remove the ScreenSelector plugin (xxx_Data/Plugins/x86_64/ScreenSelector.so)?

terrenana commented 6 years ago

Removing the ScreenSelector.so worked! Thanks. But, With the ScreenSelector.so it does'nt work I have no need for the Screen Resolution thing but other people might. I Think you should look into it. Thanks for the Quick Response!!

darealshinji commented 6 years ago

What game did this issue occur?

terrenana commented 6 years ago

A game I'm building called polycraft odyddsey, for more information: Im on linux 18.4 LTS Unity for linux 2018.2.0f1 Sorry for getting back so late!

darealshinji commented 6 years ago

So you're already exporting the game to Linux and using this tool only to create a package, right? That means you should be using u2deb which should have no effect on whether or not the game will run correctly as it only stores the files in a .deb package. The other important script copyunityengine is not needed since you already export the game to Linux.

Your screenshot looks like you have a broken or maybe missing ScreenSelector.png (should be inside xxx_Data).

If you have too much trouble with Unity's ScreenSelector you could also write your own one as a little starter program which would then set things like the resolution by starting the actual game with the right command line options.

Here's an example for such a launcher: https://github.com/darealshinji/superhot-linux-launcher

terrenana commented 6 years ago

Yes but when I run the strait .x86 the screenSelector is fine. Its when I run u2deb that it trips up.

darealshinji commented 6 years ago

Can you upload your exported game? Maybe a stripped down version if it's not a gratis game (only main menu without levels, just to check if it launches or not) or another small demo game made with the same Unity SDK version. That way I could do further investigations and figure out the cause of this problem.

terrenana commented 6 years ago

the exported game is too big too upload. But, a simple reboot fixed my problems!!

Thanks!!

On Sun, Jul 29, 2018 at 4:00 AM darealshinji notifications@github.com wrote:

Can you upload your exported game? Maybe a stripped down version if it's not a gratis game (only main menu without levels, just to check if it launches or not) or another small demo game made with the same Unity SDK version. That way I could do further investigations and figure out the cause of this problem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/darealshinji/UnityEngine2deb/issues/4#issuecomment-408662378, or mute the thread https://github.com/notifications/unsubscribe-auth/AnktGdr5et7I2OhuAKaheU7vNFYRFaNMks5uLXmigaJpZM4VZ_0b .

-- Sincerly, CRUISE