http://bugs.winehq.org/show_bug.cgi?id=27747
Summary: Unity web player reports engine not installed, autoupdate fails Product: Wine Version: 1.3.24 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Tried rm -rf ~/.wine winetricks -q --no-isolate flash firefox35 wget http://webplayer.unity3d.com/download_webplayer-3.x/UnityWebPlayer.exe wine UnityWebPlayer.exe cd ~/.wine/drive_c wine cmd /c run-firefox35.bat http://unity3d.com/webplayer All seemed to go well, but the status box on the lower right said
Unity Plugin version: 3.3.0f4 Unity Engine version: not installed
That's a bit worrying. But I tried the demos at http://unity3d.com/gallery/live-demos anyway; they all start an autoupdate of the web player, then fail; if you ask for details, it says "A newer version of Unity Web Player is required, but the auto-update download failed. Was trying to download http://webplayer.unity3d.com/autodownload_webplugin-3.x/UnityPlayer3.x.x-win..."
I downloaded the file manually and peeked inside it; it contains UnityEngine.dll and a few other things. Doing find ~/.wine -name UnityEngine.dll found it in c:/users/dank/Temp/UnityWebPlayer/UnityWebPluginUpdate-5b1a87d831f27647bddce989c83c9769/
So perhaps the download succeeded, but there was some error right after unpacking the zipfile. After some futzing, I found that you can get past the download/unpack problem by downloading and unpacking two zipfiles by hand; see attached script. So that's what's supposed to be happening... dunno why it doesn't happen in wine.
http://bugs.winehq.org/show_bug.cgi?id=27747
--- Comment #1 from Dan Kegel dank@kegel.com 2011-07-09 18:41:40 CDT --- Created an attachment (id=35502) --> (http://bugs.winehq.org/attachment.cgi?id=35502) Demo of how to manually finish installing Unity
http://bugs.winehq.org/show_bug.cgi?id=27747
Ori Avtalion ori@avtalion.name changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ori@avtalion.name
http://bugs.winehq.org/show_bug.cgi?id=27747
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |15478
http://bugs.winehq.org/show_bug.cgi?id=27747
--- Comment #2 from Austin English austinenglish@gmail.com 2012-08-23 17:07:30 CDT --- Still in wine-1.5.11-109-g144a692
http://bugs.winehq.org/show_bug.cgi?id=27747
--- Comment #3 from Adam Mizerski adam@mizerski.pl 2013-05-08 09:20:50 CDT --- Created attachment 44397 --> http://bugs.winehq.org/attachment.cgi?id=44397 update manager log
http://bugs.winehq.org/show_bug.cgi?id=27747
Adam Mizerski adam@mizerski.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adam@mizerski.pl
--- Comment #4 from Adam Mizerski adam@mizerski.pl 2013-05-08 09:22:32 CDT --- This might be helpful: When updater runs it creates log in $WINEPREFIX/drive_c/users/$LOGNAME/Temp/UnityWebPlayer/log/manager_<some_random_numbers>.txt (added as attachment).
Interesting part: "Required revision range is 3558000 to 3578006, installed revision is ffffffff"
http://bugs.winehq.org/show_bug.cgi?id=27747
--- Comment #5 from Nil Choudhury Nil.Choudhury@gmail.com 2013-05-12 22:13:47 CDT --- Created attachment 44456 --> http://bugs.winehq.org/attachment.cgi?id=44456 log file generated by Unity Web Player
See also manager_fc7f247787986140aad9e2e81c395e0e.txt
http://bugs.winehq.org/show_bug.cgi?id=27747
--- Comment #6 from Nil Choudhury Nil.Choudhury@gmail.com 2013-05-12 22:14:58 CDT --- Created attachment 44457 --> http://bugs.winehq.org/attachment.cgi?id=44457 log file generated by Unity Web Player
See also log_07c3f86e843ef142955d4ae42efebc9c.txt
http://bugs.winehq.org/show_bug.cgi?id=27747
--- Comment #7 from Nil Choudhury Nil.Choudhury@gmail.com 2013-05-13 12:18:19 CDT --- Comment on attachment 35502 --> http://bugs.winehq.org/attachment.cgi?id=35502 Demo of how to manually finish installing Unity
Um, so, without thoroughly reading the script, I went ahead an ran it. The "rm -rf ~/.wine" line recursively deletes everything in the your wine prefix. Everything after that just fails.
http://bugs.winehq.org/show_bug.cgi?id=27747
Nil Choudhury Nil.Choudhury@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Nil.Choudhury@gmail.com
--- Comment #8 from Nil Choudhury Nil.Choudhury@gmail.com 2013-05-30 23:07:56 CDT --- I don't know if anyone is actively working on this bug, but on the Unity Forums it seems a few Windows users had this problem. They discovered that they had some kind of encryption protocol for either their TEMP folder or the folder where Unity plugin was installed. see http://forum.unity3d.com/threads/164206-Unity-Web-Player-Failed-To-Update/pa... . Now how this translates to running it in wine I don't know. But someone more knowledgeable can use this as a stepping stone in solving the problem.
http://bugs.winehq.org/show_bug.cgi?id=27747
RevenantX doomrevx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |doomrevx@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=27747
--- Comment #9 from RevenantX doomrevx@gmail.com 2013-10-05 10:37:58 CDT --- Still in wine 1.7.3
http://bugs.winehq.org/show_bug.cgi?id=27747
Yanis Lux Pendrokar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Pendrokar@gmail.com
--- Comment #10 from Yanis Lux Pendrokar@gmail.com --- While this info will not help fixing the bug, as this concerns Window's versions of web browsers, rather provide a workaround. Pipelight added support for Unity Web Player, therefore it can be used on native Linux web browsers. Pipelight still uses Wine to achieve this. See the Pipelight project on how to install the player.
http://bugs.winehq.org/show_bug.cgi?id=27747
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #11 from Sebastian Lackner sebastian@fds-team.de --- Unity3D uses named pipes to communicate with the updater process, and the main reason for the problem is the return value of SetNamedPipeHandleState(). You can use (for example) the following patch to fix that:
https://github.com/compholio/wine-compholio-daily/blob/master/patches/05-Nam...
In the past there was also a problem with OpenInputDesktop(), but this has already been fixed in upstream Wine.
Unfortunately ... as Windows XP is now deprecated, Unity also has removed some old compatibility code, and now triggers these two additional issues:
https://github.com/compholio/wine-compholio-daily/blob/master/patches/05-Nam...
https://github.com/compholio/wine-compholio-daily/blob/master/patches/11-Que...
The last two patches have already been submitted on the mailinglist. Once these are committed, I would suggest to mark this as a duplicate of http://bugs.winehq.org/show_bug.cgi?id=17273.
Regards, Sebastian
http://bugs.winehq.org/show_bug.cgi?id=27747
--- Comment #12 from Sebastian Lackner sebastian@fds-team.de --- As the last two patches are upstream now ...
http://source.winehq.org/git/wine.git/commit/97c3bb040e7811fcd506fb5c29f5bdb... http://source.winehq.org/git/wine.git/commit/9602fa7a9317f1bf856fe441dd0aeb7...
... the last remaining problem is just the usual "SetNamedPipeHandleState() stub" problem.
Could someone please confirm that changing the return value of the stub solves this? (For example by applying https://github.com/compholio/wine-compholio-daily/blob/master/patches/05-Nam... ) Afterwards this could be marked as a duplicate of http://bugs.winehq.org/show_bug.cgi?id=17273 .
http://bugs.winehq.org/show_bug.cgi?id=27747
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|NEW |RESOLVED URL| |http://webplayer.unity3d.co | |m/download_webplayer-3.x/Un | |ityWebPlayer.exe CC| |focht@gmx.net Resolution|--- |DUPLICATE
--- Comment #13 from Anastasius Focht focht@gmx.net --- Hello folks,
I can confirm this is now a dupe of bug 17273
I used Adam's full patchset which adds named pipe message mode support for testing (rebased to 1.7.20+) and it made the Unity player report the correct version and web games to work.
Regards
*** This bug has been marked as a duplicate of bug 17273 ***
https://bugs.winehq.org/show_bug.cgi?id=27747
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Austin English austinenglish@gmail.com --- Closing.