File locked: Error: Unable to delete schema database
oblm opened this issue · 0 comments
oblm commented
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.
- Perform initial schema generation.
- Play In Editor with one client.
- Stop the PIE session.
- Attempt to delete the Schema Database using the in Editor option.
Environment
4.26
master
Example Project
Windows 10