question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Post process step hangs indefinitely on build

See original GitHub issue

When running a build, there is a post process trigger for both android and iOS that spawn a python process to modify some metadata in the respective platform. There seems to be an issue (maybe only in our case) with the way the Process API is being used.

This part of the script: https://github.com/adjust/unity_sdk/blob/master/Assets/Editor/AdjustEditor.cs#L165 assumes that the python script is executable which, by default upon download the SDK, is not. Changing those lines to look like this

proc.StartInfo.FileName = "python";
proc.StartInfo.Arguments = Application.dataPath + pathToScript + " " + arguments;

fixes the issue and allows the build to complete successfully, but I’m not sure I can articulate why with my limited knowledge of the Process API. Have you seen this issue before?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jcomocommented, Sep 15, 2016

We actually cherry picked the build scripts off from the new version and were using those instead so I’m confident this with solidify the fix

1reaction
jcomocommented, Sep 15, 2016

Thanks! We’ll give it a shot

Read more comments on GitHub >

github_iconTop Results From Across the Web

"docker build" immediately hangs indefinitely. Windows 10
When I attempt to run a build command, docker simply freezes before producing any output. I've allowed it to sit for large lengths...
Read more >
docker-compose up hangs forever. How to debug?
I have a project with a dockerfile and a docker-compose.yml for deploying it. But if I run docker-compose up , the command prints...
Read more >
Intellij process hangs indefinitely after closing IDE on ...
Intellij process hangs indefinitely after closing IDE on Windows (sometimes) · 1. Open the IDE · 2. Close the IDE again · 3....
Read more >
Test Explorer Hangs Indefinitely - Builds Seem to Run in a ...
Steps are only: Open MiniProfiler.sln; Click “Run All” in Test Explorer. Note: on this particular machine, it's complaining about .NET Core ...
Read more >
'docker compose up' hangs forever (usually), even with V2 ...
Run docker compose uo -d. without the disconnected (-d), it starts and attaches to the container, making you believe it's hung.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found