mdetools / mdetools19

0 stars 0 forks source link

Can't launch simulator on Linux #5

Open ValentinBesnard opened 5 years ago

ValentinBesnard commented 5 years ago

Hello,

I have tried to launch the simulator of the Challenge Problem on Linux but it fails. My PC is running a Debian OS on X86_64. Same problem occurs with the linux_universal binary. One of my colleague has also the problem on his PC running Linux.

When I launch the simulator, I have got the screen "Made with unity" and then black screen and nothing occurs.

Logs of the console are: Set current directory to /home/vbesnard/Doctorat/Recherche/code/SimulationMDETools/ChallengeProblem/ChallengeProblem/Linux/linux_x86_64 Found path: /home/vbesnard/Doctorat/Recherche/code/SimulationMDETools/ChallengeProblem/ChallengeProblem/Linux/linux_x86_64/linux_x86_64.x86_64 Mono path[0] = '/home/vbesnard/Doctorat/Recherche/code/SimulationMDETools/ChallengeProblem/ChallengeProblem/Linux/linux_x86_64/linux_x86_64_Data/Managed' Mono config path = '/home/vbesnard/Doctorat/Recherche/code/SimulationMDETools/ChallengeProblem/ChallengeProblem/Linux/linux_x86_64/linux_x86_64_Data/MonoBleedingEdge/etc' Preloaded 'ScreenSelector.so' Display 0 '0': 1920x1080 (primary device). Logging to /home/vbesnard/.config/unity3d/DefaultCompany/SimGen Unity Framework/Player.log

Logs of the Player.log file are: IndexOutOfRangeException: Index was outside the bounds of the array. at starter.readSettings () [0x00046] in <340bb346049940999cabaf0d414d5463>:0 at starter.Start () [0x00000] in <340bb346049940999cabaf0d414d5463>:0

There is a IndexOutOfRangeException on method readSettings. Do you have any idea of what is doing this method ? Loading game settings ?

Regards,

Valentin

PS: The link in section "How to ask for additional help?" points to the bug issues of 2018.

GoGitThat commented 5 years ago

Hi Valentin, thanks for your detailed feedback (helps a lot in debugging). The settings file it was searching for behind the scenes on the simulation side was incorrectly typed. A fixed version of the challenge problem should be available shortly.

moji1 commented 5 years ago

Here is the link to download the fixed package: https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1ArTdaXxzRkDKdbaeroi2NtVLxPZRFrah&amp;data=02%7C01%7C15mb35%40queensu.ca%7C80c6018712e04c1b6a7a08d6ea8c4605%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636954285531090235&amp;sdata=YYm2KxqNVl%2FwhNEkMxJWZAhXsdyZvDhlfDnXmf2%2FYdU%3D&amp;reserved=0

moji1 commented 5 years ago

The link for the issue page is fixed, thanks for pointing that out.

ValentinBesnard commented 5 years ago

It works for me.

Thank you very much !

aviransadon commented 5 years ago

Unfortunately It appears I’m having the same issue, in Windows.

moji1 commented 5 years ago

@aviransadon
Sorry for the inconvenience, there was a problem which is fixed in the following version: https://drive.google.com/file/d/1AnYDKY6Jk5mjl0Ah5uhpb4PIFRASgVvY/

aviransadon commented 5 years ago

Thank you (-:

ValentinBesnard commented 5 years ago

Ports number are incoherent between simulation and the description page of the challenge. On the simulator, ports 9065 and 9075 should be used to control robots.

GoGitThat commented 5 years ago

Hi Valentin, sorry that was my mistake (I was testing for configurable ports). The defaults are 9001 and 9003 for player1 and player2 respectively. The ports in the GameSettings.txt file can also be set to whichever ones work for you.

aviransadon commented 5 years ago

Unfortunately, we are having the same problem on mac.

tomyaacov commented 5 years ago

Hi, i'm having the same issue in MacOS.

Player.log file: ` Initialize engine version: 2018.3.11f1 (5063218e4ab8) GfxDevice: creating device client; threaded=1 2019-06-11 16:14:14.879 mac[3930:288083] Color LCD preferred device: Intel(R) HD Graphics 630 (low power) 2019-06-11 16:14:14.879 mac[3930:288083] Metal devices available: 2 2019-06-11 16:14:14.879 mac[3930:288083] 0: Intel(R) HD Graphics 630 (low power) 2019-06-11 16:14:14.879 mac[3930:288083] 1: AMD Radeon Pro 555 (high power) 2019-06-11 16:14:15.811 mac[3930:288083] Using device AMD Radeon Pro 555 (high power) Initializing Metal device caps: AMD Radeon Pro 555 Begin MonoManager ReloadAssembly

(Filename: ./Runtime/Export/Debug.bindings.h Line: 45)

/private/var/folders/m3/kcj_517s7g947dtc6vlr_hr00000gn/T/AppTranslocation/95648BAD-B039-423A-B10C-D557D09830D8

(Filename: ./Runtime/Export/Debug.bindings.h Line: 45)

ArgumentException: Empty path name is not legal. at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) [0x00033] in :0 at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00000] in :0 at System.IO.StreamReader..ctor (System.String path, System.Boolean detectEncodingFromByteOrderMarks) [0x0000d] in :0 at System.IO.StreamReader..ctor (System.String path) [0x00000] in :0 at (wrapper remoting-invoke-with-check) System.IO.StreamReader..ctor(string) at System.IO.File.OpenText (System.String path) [0x00000] in :0 at starter.readSettings () [0x000ab] in <37dbb164f3364c1da470645050264156>:0 at starter.Start () [0x00000] in <37dbb164f3364c1da470645050264156>:0

(Filename: Line: 0)

Setting up 4 worker threads for Enlighten. Thread -> id: 70000fa24000 -> priority: 1 Thread -> id: 70000faa7000 -> priority: 1 Thread -> id: 70000fb2a000 -> priority: 1 Thread -> id: 70000fbad000 -> priority: 1 `

GoGitThat commented 5 years ago

Thanks for the log files tom! I think the issue should be fixed with this release. Here is the download link: https://drive.google.com/open?id=19H0Q3uODNEe_02stA2rqPRvHKGLnzi3Q. The link is also updated on the challenge website.

tomyaacov commented 5 years ago

Works, thanks!

aviransadon commented 5 years ago

Thank you for the fast response (-: