Skip to content

Commit

Permalink
specify full player.log path
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdeitke committed May 27, 2022
1 parent 7063080 commit 33660f0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ai2thor/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,11 @@ def _start_unity_thread(self, env, width, height, server_params, image_name):
self.server.unity_proc.wait(timeout=1.0)
if self.server.unity_proc.returncode is not None:
message = (
"Unity process has exited - check Player.log for errors. Confirm that Vulkan is properly configured on this system using vulkaninfo from the vulkan-utils package. returncode=%s"
"Unity process has exited - check "
"~/.config/unity3d/Allen\ Institute\ for\ "
"Artificial\ Intelligence/AI2-THOR/Player.log for errors. "
"Confirm that Vulkan is properly configured on this system "
"using vulkaninfo from the vulkan-utils package. returncode=%s"
% (self.server.unity_proc.returncode,)
)
raise Exception(message)
Expand Down

0 comments on commit 33660f0

Please sign in to comment.