UnrealGDK icon indicating copy to clipboard operation
UnrealGDK copied to clipboard

File locked: Error: Unable to delete schema database

Open oblm opened this issue 4 years ago • 0 comments

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

oblm avatar Apr 23 '21 10:04 oblm