Skip to content

Crash in UGaeaSubsystem::CreateLandscapeActor #21

@keithoconor

Description

@keithoconor

When using the 5.7 version of the plugin, there's a crash if the user doesn't specify a LayerInfo directory, or if the number of weightmaps aren't the same as the number of layers in the material. This is because at line 1007 it tries to access MaterialImportLayers[i], but ImportWeightmaps was false (due to the conditions in line 843) and so MaterialImportLayers was never filled in and is empty.

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