Hi,
The error you’re encountering indicates that Unreal Engine is unable to access the necessary writable cache due to restrictions likely caused by the CyberGhost VPN. This is a common issue with VPNs that alter network configurations, impacting Unreal Engine’s ability to resolve paths or connect to required services.
Here’s how you can address this issue:
- Exclude Unreal Engine from the VPN (Split Tunneling)
Many VPNs, including CyberGhost, support split tunneling, which allows you to exclude specific applications or paths from being routed through the VPN.
- Open CyberGhost VPN.
- Go to Settings and locate the Split Tunneling feature (often under Privacy or Advanced).
- Add the Unreal Engine executable (
UE4Editor.exe
or similar) and any related processes to the exclusion list.
- Test opening your project.
- Configure CyberGhost to Allow Local Network Access
VPNs often block access to local networks, which can interfere with Unreal Engine. Ensure that local networking is permitted.
- Open the CyberGhost VPN client.
- Look for an option like **“Allow local network access” or “Bypass LAN” in the settings and enable it.
- Restart CyberGhost and Unreal Engine.
- Specify a Custom Cache Directory for Unreal Engine
Unreal Engine may have issues with the default cache directory when using a VPN. You can set a custom cache location that is more stable.
- Locate your Unreal Engine project’s configuration file, typically:
javascript
code
<ProjectDirectory>/Saved/Config/Windows/Engine.ini
- Open it in a text editor and add the following:
ini
code
[InstalledDerivedDataBackendGraph]
Path=<CustomWritablePath>
Replace <CustomWritablePath>
with a directory you know is writable (e.g., outside of the VPN scope).
3. Save the file and restart Unreal Engine.
- Change the VPN Server/Protocol
The VPN server location and protocol may impact your system’s file operations.
- In CyberGhost, switch to a different server (preferably closer to your region).
- Try changing the VPN protocol (e.g., WireGuard, OpenVPN, or IKEv2) under the settings.
- Temporarily Disable CyberGhost Features
Some CyberGhost features can interfere with local operations:
- Block online tracking: disable this if it’s enabled.
- Content Blocker**: Turn off temporarily.
- Data compression: ensure it’s disabled.
After disabling, test whether Unreal Engine starts properly.
- Use Command-Line Options to Force a Graph
If nothing else works, you can try forcing a specific backend graph for the Derived Data Cache (DDC) via the command line:
- Launch Unreal Editor with the following parameter:
code
UE4Editor.exe -ddc=PATH_TO_CUSTOM_CACHE
Replace PATH_TO_CUSTOM_CACHE
with a custom, writable cache directory as mentioned earlier.
- General Troubleshooting
*Ensure Project Files Are Writeable: Ensure no project files or cache folders are locked due to the VPN.
- Clear DDC Manually: Delete Derived Data Cache folders:
code
<EngineInstallPath>/DerivedDataCache
<ProjectFolder>/Intermediate/DerivedDataCache
Unreal will recreate them on startup.
Final Option
If no workaround works, you may indeed have to toggle the VPN off during project sessions. However, following these steps should minimize disruptions caused by the VPN.
Let me know how these suggestions work for you!