Skip to content

The compilation error in the UEPyFFoliageInstance.cpp #575

@cyberbibby

Description

@cyberbibby

Hello author, your plugin is awesome. But when I built the project with the latest source code on UE 4.20, I encountered a compilation error. When I choose a solution configured for Development without the Editor, I get the following compilation error message:

Plugins\UnrealEnginePython\Source\UnrealEnginePython\Private\Wrappers\UEPyFFoliageInstance.cpp(35): error C2039: 'Instances': is not a member of 'FFoliageMeshInfo'
Plugins\UnrealEnginePython\Source\UnrealEnginePython\Private\Wrappers\UEPyFFoliageInstance.cpp(37): error C2039: 'Instances': is not a member of 'FFoliageMeshInfo'
Plugins\UnrealEnginePython\Source\UnrealEnginePython\Private\Wrappers\UEPyFFoliageInstance.cpp(67): error C2039: 'PreMoveInstances': is not a member of 'FFoliageMeshInfo'
Plugins\UnrealEnginePython\Source\UnrealEnginePython\Private\Wrappers\UEPyFFoliageInstance.cpp(69): error C2039: 'PostMoveInstances': is not a member of 'FFoliageMeshInfo'
Plugins\UnrealEnginePython\Source\UnrealEnginePython\Private\Wrappers\UEPyFFoliageInstance.cpp(88): error C2039: 'PreMoveInstances': is not a member of 'FFoliageMeshInfo'
Plugins\UnrealEnginePython\Source\UnrealEnginePython\Private\Wrappers\UEPyFFoliageInstance.cpp(90): error C2039: 'PostMoveInstances': is not a member of 'FFoliageMeshInfo'

There is no problem with using the solution configure for Development Editor.

I tried using the WITH_EDITOR macro to avoid compiling the relevant code in the file, but it still doesn't work. Do you understand the reason for this issue? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions