[OPEN-SOURCE] Machinery Modelling Toolkit

I am on Linux, and was able to turn MMT_Content in to a cpp project and get to compile…with 4.15 after adding these lines


template<>
struct TStructOpsTypeTraits<FSecondaryTickFunction> : public TStructOpsTypeTraitsBase
{
        enum
        {
                WithCopy = false
        };
};

to the bottom of Plugins/MMT/Source/MMT/Public/MMTSecondaryTick.h as per instructions in the Engine code its self.

File: /mnt/store/UnrealEngine/4.15/Engine/Source/Runtime/Engine/Classes/Engine/EngineBaseTypes.h
Line: 404


// It is unsafe to copy FTickFunctions and any subclasses of FTickFunction should specify the type trait WithCopy = false 

Is the performance because of issues in the plugin its self, being on Linux, or this change in the code?

I tried the MMT_Content_CPP download and had to make the same change but it crashed when I hit play in the editor.

Log: https://gist.github.com/salamanderrake/c65b95948faed9f4249927e8351dc53a