TriAxis-Games / RealtimeMeshComponent

Unreal Engine 5 plugin component for rendering runtime generated content.
https://rmc.triaxis.games/
Other
1.58k stars 412 forks source link

Build Errors with UE4.23.0 #144

Closed CoderJackLiu closed 4 years ago

CoderJackLiu commented 5 years ago

4.23 update its API ,there is no "UseEditorDepthTest".I cant find suitable function replace it. Can you please supply a new solution of it?

CoderJackLiu commented 5 years ago

I ve solved the issue. there are modifications of the engine ,Check the differences and get the right properties will help.

gjckdanek commented 5 years ago

I ve solved the issue. there are modifications of the engine ,Check the differences and get the right properties will help.

What is right propertie instead of UseEditorDepthTest() ?

NuLL3rr0r commented 5 years ago

I wonder the same thing. @JackMaDrinkCoffee could you please elaborate?

Zaratusa commented 5 years ago

The correct one is DrawsVelocity().

NuLL3rr0r commented 5 years ago

Exactly, I figured it out but forgot to mention it here https://github.com/VIDILabs/ImsvGraphVis/pull/5/commits/7a8b2b52c541666e0e639fbd6c839edce0058191

From

    PrimitiveUniformBuffer = CreatePrimitiveUniformBufferImmediate(
        GetLocalToWorld(), GetBounds(), GetLocalBounds(), true, UseEditorDepthTest());

To

    FBoxSphereBounds PreSkinnedLocalBounds;
    GetPreSkinnedLocalBounds(PreSkinnedLocalBounds);
    PrimitiveUniformBuffer = CreatePrimitiveUniformBufferImmediate(
        GetLocalToWorld(), GetBounds(), GetLocalBounds(), PreSkinnedLocalBounds, ReceivesDecals(), DrawsVelocity(), LpvBiasMultiplier);
kfatehi commented 5 years ago

This fork worked for me in 4.23 https://github.com/stefanseibert/RuntimeMeshComponent

RumbleballTheReal commented 5 years ago

This fork worked for me in 4.23 https://github.com/stefanseibert/RuntimeMeshComponent

Seems to mostly work, but UpdateFrequency set to "Infrequent" does not render the mesh.

Koderz commented 4 years ago

Closing as this is for an outdated version of the plugin that's no longer supported.

If you experience this or any other issues in the current version, feel free to report again!

Thanks!