Skip to content

UE5 UHT 的兼容性问题 #600

@GotGimhong

Description

@GotGimhong

目前使用 UE5.1 编译 UnLua 时会出现以下提示:

DEPRECATED: C++ UHT being used because 'UnLuaTestSuite' does not have a C# version. C++ UHT has been deprecated and will be removed in 5.2
DEPRECATED: C++ UHT being used because 'UnLua' does not have a C# version. C++ UHT has been deprecated and will be removed in 5.2

看起来是因为 UE5 改用了 C# 版本的 UHT,而当前的 UnLua 还不支持使用 C# 版本的 UHT,使得引擎仍然使用 C++ 版本的 UHT。请问这个问题需要怎么解决呢?

如果只是开发一个简单的工程,使用 C++ 版本的 UHT 也没什么问题。不过由于我们的项目对 UHT 做了定制修改,如果仍然使用 C++ 版本的 UHT 就会使得我们的定制修改无法生效了。

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions