inkle / inkle/inky

MacOS Catalina: Unity plugin cannot compile .ink because 32-bit

Open
#288 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
340
PR merge metrics
No merged PRs in 30d

Description

There is a file `inklecate_mac` that ships with the Unity plugin. Unfortunately this file was compiled as 32-bit and Catalina only runs 64-bit apps now. Thus the "compile" and "compile all" features of the plugin silently fail (appear to do nothing).

Observe `InkCompiler.cs` has in the `OnCompileProcessComplete` function the output of the process is blank:

`string allOutput = process.StandardOutput.ReadToEnd();` < variable `allOutput` is the empty string.

Also when you run `inklecate_mac` from the command-line you get the following error output:

```
Last login: Thu Jul 2 22:42:38 on ttys001
/Users/david/Documents/Creative/Ink/the-intercept/Assets/Plugins/Ink/DLLs/inklecate_mac ; exit;
➜ ~ /Users/david/Documents/Creative/Ink/the-intercept/Assets/Plugins/Ink/DLLs/inklecate_mac ; exit;
zsh: bad CPU type in executable: /Users/david/Documents/Creative/Ink/the-intercept/Assets/Plugins/Ink/DLLs/inklecate_mac

[Process completed]
```

Recommended solution: recompile the `inklecate_mac` binary as 64-bit and replace the old 32-bit one.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.