Interested in getting Unity to work.

Questions about Wine on Linux
Locked
dirkmitt
Level 2
Level 2
Posts: 37
Joined: Wed Mar 26, 2008 8:12 pm

Interested in getting Unity to work.

Post by dirkmitt »

Hello.

I'd like to get the 3D game-authoring suite named "Unity", specifically, the version called '2018.1.6f1 (64-bit)', working on Wine-Staging 3.11 . If I was to succeed, I might be the first to do so. :)

So far, all I was able to get, is what is shown in the attached screen-shot.

The authors of this software-suite claimed 'somewhere', that they had deprecated their use of DirectX9, leaving the application to try and render either using DirectX11, or using OpenGL 4.5 .

I created a version-entry in the AppDB, in which I stated my suspicion, that my graphics card may just not be powerful enough. But in case this is a misconception of mine, is there anybody who can look at the screen-shot, and who can give me a better tip, on how to proceed?

Thanks in advance,

(Edit: )

Actually, when I ran on the prefix:

winetricks vcrun2010 vcrun2012 vcrun2013 vcrun2015 corefonts

(In several separate attempts)

I was able to improve the results, as shown below... A key aspect even to getting the 3D preview-panel to display correctly, was to use the command-line switch

-force-opengl

When running 'wine64 Unity..exe -force-opengl'

Using DirectX11, that was also not working.

But even though the screen-shot now 'looks better', the editor still does not work well enough to be used. Every time I try to open a separate dialog-box, the contents of that dialog-box do not display. This includes the Edit -> Preferences window, which I would just love to get open, to try to set the Editor itself to be friendlier.

Dirk
dirkmitt
Level 2
Level 2
Posts: 37
Joined: Wed Mar 26, 2008 8:12 pm

Re: Interested in getting Unity to work.

Post by dirkmitt »

Sorry.

Here is the updated screen-shot.

Dirk
Attachments
Updated Screen-Shot
Updated Screen-Shot
dirkmitt
Level 2
Level 2
Posts: 37
Joined: Wed Mar 26, 2008 8:12 pm

Re: Interested in getting Unity to work.

Post by dirkmitt »

If I had the option, I'd keep editing the same posting, rather than post replies to myself. But, there's the timeout on this forum.

I have a new observation about getting the latest Unity version to run under Wine, which actually suggests, that my problem was not with my graphics hardware.

The Editor accepts a command-line option, of the form:

wine64 Unity -force-glcore32

What this does, is force the editor to use the 'dumbed-down' OpenGL 3.2 as its 3D Preview, which most reasonable graphics cards today, including mine, should support.

However, even with this option, I keep getting identical results, those results being, that pop-up windows - i.e., dialog boxes - are empty.. At the same time, the expected splash screen is also a first-black, then gray window.

So now I've run out of ideas.
There is no up-to-date 32-bit version of Unity.

Dirk
dirkmitt
Level 2
Level 2
Posts: 37
Joined: Wed Mar 26, 2008 8:12 pm

Re: Interested in getting Unity to work.

Post by dirkmitt »

Because I wanted to test, whether I could get a legacy, 32-bit version of Unity to work, I followed the instructions in This AppDB Entry to the letter.

This included, installing 'vcrun2010', 'vcrun2012', 'vcrun2013' and 'corefonts' via winetricks, because as the reviewer wrote, version 5.1.1f1 does not depend on 'vcrun2015' .

But unfortunately, the result is the same. Following the app-tester's instructions, does not reproduce what the app-tester said it would do. After displaying the black rectangle, Unity 5.1.1f1 (32-bit) just dies.

My 64-bit attempt at least displays something.

Dirk
dirkmitt
Level 2
Level 2
Posts: 37
Joined: Wed Mar 26, 2008 8:12 pm

Re: Interested in getting Unity to work.

Post by dirkmitt »

I have gotten the legacy, 32-bit version after all.

It seems that the app reviewer, omitted a very important detail, of what Unity needs - either as a legacy or a modern version - to run.

It needs Windows Media Player. This is the reason for the initial black / gray rectangle. That rectangle greets the user with an invitation to log in to their Unity 3D account.

In the legacy version, it was mandatory, for which reason just to dismiss this window would also terminate the application.

But in the up-to-date version, this rectangle is optional, in that we can just proceed to use the Free Edition offline.

In the 32-bit version, at least I can install it using

winetricks wmp10


I do find though, that the way the 32-bit version finally renders, when I have logged in to my Unity 3D account, was only as good, as the degree with which the up-to-date version renders. And the legacy, 32-bit version, also displays dialog-boxes, the contents of which do not render. So I have no gain from using the 32-bit version, aside from the fact that the 64-bit won't even allow me to log into my existing account... :) But this is good news, because I've come closer to understanding what's needed...

Dirk
Attachments
The problem which persists either way.
The problem which persists either way.
dirkmitt
Level 2
Level 2
Posts: 37
Joined: Wed Mar 26, 2008 8:12 pm

Re: Interested in getting Unity to work.

Post by dirkmitt »

I have found a solution to the rendering problem.

In the Wine Registry, one can set a value as follows:

HKEY_CURRENT_USER -> Software -> Wine -> Direct3D ->
csmt = 0x0 (DWORD)

This fixes the problem with my v5.1.1f1, 32-bit instance, because it was using DirectX9.

It cannot fix the problem with my 2018.1.6f1, 64-bit instance, because it was using OpenGL.

I now have one version I can work with.

Dirk
Attachments
A functional version
A functional version
dirkmitt
Level 2
Level 2
Posts: 37
Joined: Wed Mar 26, 2008 8:12 pm

Re: Interested in getting Unity to work.

Post by dirkmitt »

I suppose that one more question which any reader could have would be, 'Why not install the 64-bit version of Windows Media Player 11, for use with Unity 2018.1.6f1 ?'

But when I tried to do that, using steps which should have been successful, the Microsoft Installer displayed the error message: 'There is a more recent version of wmp already installed ...' , followed by some garbled text, as an indication of which version of WMP it thinks is already installed, more recent than 11...

This could mean two things:

1) It could mean that under Wine Staging 3.11, some sort of facsimile of WMP is already installed, or

2) It could mean that in the setup of Unity 2018.1.6f1 , an attempt was already made to install WMP 12, which would have failed, much as the attempts fail, to install vcrun2010, vcrun2013, and vcrun2015 .

So what I have now done, is to try installing WMP 11 on a clean 64-bit prefix, only to discover that I get the same error message. And so what this seems to mean, is that possibility (2) above can be ruled out.

Further, I've found that if I just leave Unity 2018.1.6f1 (64-bit) idling, at some point in time it just crashes. This would be enough to prevent me from using it. And so I think that for the moment, I'll just need to stick with the 32-bit Unity 5.1.1f1. The real question will become, 'Is it stable enough, that I should pay for a membership, and subscribe to their Asset Store?'

Dirk
ahso
Level 4
Level 4
Posts: 182
Joined: Sat Feb 20, 2010 2:31 am

Re: Interested in getting Unity to work.

Post by ahso »

Look here:
https://forum.unity.com/threads/unity-o ... st-2556301
use the latest post and forget wine
dirkmitt
Level 2
Level 2
Posts: 37
Joined: Wed Mar 26, 2008 8:12 pm

Re: Interested in getting Unity to work.

Post by dirkmitt »

ahso,

Thank you for that link!

I've installed Unity-2018.1.5f1 For Linux now, and find that everything seems to run smoothly.

Dirk
Locked