[Mono-ue] Actor class not receiving ticks

Michael Hutchinson m.j.hutchinson at gmail.com
Tue Dec 2 17:48:29 UTC 2014


On 2 December 2014 at 00:23, Johan Verwey <johan.verwey at gmail.com> wrote:
> Hi,
>
> I have followed all the steps to compile Unreal 4 and apply the patches. I
> am able to create a TestActor class in C# and create a scene containing a
> Test Actor.
>
> The constructor never seems to execute since( from what I understand), it
> should have a default mesh if nothing is assigned. Even if I assign a mesh
> myself, it does not rotate so I assume my ReceiveTick method is not being
> called.

I'll look into it.

> I tried to starting the project from the debugger, but my breakpoints are
> not being hit.
>
> Any ideas?

What platform? The debugger should work. Does the IDE indicate that it
was able to connect?

> Also where can I find the patch files for preview 4?

They're in Engine\Plugins\XamarinUE4\Patches

> Lastly, some pointers for setting up an F# project would be greatly
> appreciated.

You'll have to manually edit the fsproj file to do something similar
to what the csproj does

Notably, at the top:

  <Import Project="..\Xamarin.UE4.generated.props" />

Then set the output path for all configurations:

  <OutputPath>..\..\Binaries\MonoGameAssemblies\</OutputPath>

And finally the targets:

  <Import Project="$(MonoUE4RuntimePluginLocation)\MSBuild\Xamarin.UE4.CSharp.targets"
/>

You'll have create an FSharp equivalent of the targets but it should
be pretty simple since they just set a couple of properties then
import the language targets and some language-agnostic UE targets.


-- 
Michael Hutchinson ~ https://mhut.ch


More information about the Mono-ue mailing list