TheAshenWolf / WakaTimeForUE

As all the other versions of Wakatime plugins for Unreal Engine lead to blank repos, I decided to make a plugin that actually has some code in it. I am no longer working on this plugin, but the community is, so feel free to contribute!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BugFixed

Violet-VE opened this issue · comments

In UE5_Latest(Github::ue5-main)

WakaTimeForUE.cpp#L145:
FEditorDelegates::PostSaveWorld.Remove(PostSaveWorldHandle); -> FEditorDelegates::PostSaveWorldWithContext.Remove(PostSaveWorldHandle);

WakaTimeForUE.h:
Add #include "EditorStyleSet.h"

And

WakaTimeForUE.Build.cs:
Add "EditorStyle" Module

Because:
WakaTimeForUE.h#L145:
FEditorStyle::GetStyleSetName() // Error

But:函数 'GetStyleSetName' 已被弃用,原因: 'FEditorStyle::GetStyleSetName() is deprecated, use FAppStyle::GetAppStyleSetName() instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.'

Thank you for your report! Replaced the deprecated methods; everything should be back to green now.