[Mono-ue] compile error: UProperty Category

Michael Hutchinson m.j.hutchinson at gmail.com
Sat Nov 1 20:53:15 UTC 2014


Sorry, the API has been tweaked a little since writing the Getting
Started. Category is now a separate attribute e.g.

[UProperty, Category ("Static Mesh")]
public Subobject<StaticMeshComponent> MeshComponent { get; set; }

And the "this" parameter is now implicitly provided by the PCIP:

MeshComponent = pcip.CreateDefaultSubobject<StaticMeshComponent> (new
Name ("StaticMeshComponent0"));

In what way does hot reload not work? There should be log messages in
the UE Output Log when the IDE notifies UE to perform the hot-reload,
are those messages there?


On 1 November 2014 14:51, Duane Wandless <duane at wandless.net> wrote:
> I'm trying to implement the simple getting started example on Win64.  I
> receive these compile errors, http://pastebin.com/H3fsXJ1k.
>
> The compile is failing on these two lines (full source):
> [UProperty(Category = "Static Mesh")]
> public Subobject<StaticMeshComponent> MeshComponent { get; set; }
> and
> MeshComponent = pcip.CreateDefaultSubobject<StaticMeshComponent>(this, new
> Name("StaticMeshComponent0"));
>
> UProperty does not contain Category (UProperty from Assembly browser).  And
> no signature matches on pcip.  If I remove Category and modify the signature
> to be CreateDefaultSubobject...(new Name("...") I am able to get the C# code
> to impact the UE project, though hot reload does not work.
>
> Any ideas on why the bindings are incomplete?
>
> Thanks,
> Duane
>
> Also- well done on the past few years!
>
>
>
>
> _______________________________________________
> Mono-ue mailing list
> Mono-ue at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-ue
>



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


More information about the Mono-ue mailing list