spatialos / UnrealGDK

SpatialOS GDK for Unreal Plugin

Home Page:https://docs.improbable.io/unreal/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File locked: Error: Unable to delete schema database

oblm opened this issue · 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