Skip to content
This repository was archived by the owner on May 26, 2025. It is now read-only.
This repository was archived by the owner on May 26, 2025. It is now read-only.

Compile error/warnings in 5.5 #3

@puchik

Description

@puchik

SubsystemCollection.GetSubsystemArray<TSubsystemClass>(); has been deprecated and throws an error when compiling in a 5.5 project.

warning C4996: 'FObjectSubsystemCollection<UGameStateSubsystem>::GetSubsystemArray': This function is unsafe for re-entrancy and has been deprecated. Use ForEachSubsystem or GetSubsystemArrayCopy instead Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.

In addition to the warning, this causes an error that points to the engine code and the project fails to compile. (Engine\Source\Runtime\Engine\Public\Subsystems\SubsystemCollection.h(213))

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