Post process step hangs indefinitely on build
See original GitHub issueWhen 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:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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
Thanks! We’ll give it a shot