Skip to content
This repository was archived by the owner on Aug 29, 2024. It is now read-only.
This repository was archived by the owner on Aug 29, 2024. It is now read-only.

File locked: Error: Unable to delete schema database #3049

@oblm

Description

@oblm

Description

Sometimes the schema directory is locked by an Unreal Engine process. This can cause attempts to delete the Schema Database via the button in the UnrealGDK toolbar to fail, throwing this error:

File locked: Error: Unable to delete schema database

Expected behaviour

The Delete Schema Database button should do just that.

Workaround

If you find yourself in this state, close and re-open the Unreal Editor to resolve the issue.

Steps to reproduce

Provide an unambiguous set of steps to reproduce this bug. Include code snippets if relevant.

  1. Perform initial schema generation.
  2. Play In Editor with one client.
  3. Stop the PIE session.
  4. Attempt to delete the Schema Database using the in Editor option.

Environment

4.26
master
Example Project
Windows 10

Internal ticket reference

UNR-4754

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions