Your comments

The issue appears to come from IsLudiqRuntimeDependentAssembly (Codebase.cs line 258) returning false for your assembly.

My workaround is to make use of [DoNotSerialize] or [Serialize] in the CustomUnit to ensure that the assembly has a reference to Ludiq.Core.Runtime.

´╗┐