Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuild for 4.22 #5

Open
jona-ha opened this issue Sep 5, 2019 · 1 comment
Open

Rebuild for 4.22 #5

jona-ha opened this issue Sep 5, 2019 · 1 comment

Comments

@jona-ha
Copy link

jona-ha commented Sep 5, 2019

Hi, I tried every hint I could find in order to rebuild this plugin for UE 4.22 and everytime it failed. Is there any chance somebody updates this plugin? We really need this functionality in our project but we are not good enough at programming in c++

Ways I failed to rebuild your nice plugin:

  • open MeshWidgets.uproject; initiate rebuild
    UE4Editor_YjaRo6u6oZ
    UE4Editor_wT1e0oy94J
  • create a new c++ project inside unreal; create the plugins folder and copy the files from your unbuild .zip into it; try to open the c++ project; same error again
@jona-ha jona-ha changed the title Rebuild fort 4.22 Rebuild for 4.22 Sep 5, 2019
@Bade99
Copy link

Bade99 commented Oct 4, 2019

Hey @jonaYeah I think I have solved the problems, I'm running on 4.23 and this worked for me:

· In MeshWidgetComponent.h:
FActorComponentInstanceData* GetComponentInstanceData() const override;
Change to:
virtual TStructOnScope < FActorComponentInstanceData > GetComponentInstanceData() const;

· In MeshWidgetComponent.cpp:
LastRenderTime
Change to:
GetLastRenderTime()

FActorComponentInstanceData* UMeshWidgetComponent::GetComponentInstanceData() const
{
return new FMeshWidgetComponentInstanceData( this );
}
Change to:
TStructOnScope < FActorComponentInstanceData > UMeshWidgetComponent::GetComponentInstanceData() const
{
return MakeStructOnScope< FActorComponentInstanceData >(this);
}

Hope it helps if you are still interested in this, could also be helpful to someone else who wants to try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants