6.3 KiB
Troubleshooting Guide - Dubai Metaverse
Common Issues and Solutions
Installation Issues
GitHub Access Denied
Problem: Cannot clone Unreal Engine repository
fatal: could not read Username for 'https://github.com'
Solution:
- Link GitHub account to Epic Games: https://www.unrealengine.com/en-US/ue-on-github
- Sign in with Epic Games account
- Link GitHub account
- Accept Unreal Engine license
- Try cloning again
Alternative: Use SSH instead of HTTPS (requires SSH key setup)
.NET SDK Not Found
Problem: Package 'dotnet-sdk-6.0' has no installation candidate
Solution (Ubuntu 24.04):
sudo add-apt-repository -y ppa:dotnet/backports
sudo apt update
sudo apt install -y dotnet-sdk-6.0
Alternative: Install dotnet-sdk-8.0 if 6.0 not available
Build Fails Due to Low RAM
Problem: Build process killed, out of memory errors
Solutions:
- Reduce parallel jobs:
make -j2 UnrealEditor(instead of-j4) - Close other applications
- Add swap space:
sudo fallocate -l 16G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile - Edit script: Change
NUM_CORES=4toNUM_CORES=2
Tag Not Found
Problem: fatal: Remote branch 5.4.1 not found
Solution: The script should handle this automatically by falling back to 5.4 branch. If not:
cd ~/UnrealEngine
git fetch --depth=1 origin tag 5.4.1
git checkout 5.4.1
Or use the branch instead:
git clone --depth=1 https://github.com/EpicGames/UnrealEngine.git -b 5.4 UnrealEngine
WSL Graphics Issues
Editor Won't Launch
Problem: Unreal Editor won't start in WSL
Solutions:
-
Check DISPLAY variable:
echo $DISPLAY # Should show something like :0 or IP:0.0 -
Set DISPLAY for WSL2:
export DISPLAY=$(ip route list default | awk '{print $3}'):0.0 # Add to ~/.bashrc to make permanent -
Verify X Server is running (Windows 10):
- Install VcXsrv or Xming
- Start X server with "Disable access control"
- Check X server is listening
-
Test X connection:
sudo apt install x11-apps xeyes # Should open a window
WSLg Not Working (Windows 11)
Problem: WSLg not displaying GUI applications
Solutions:
- Update WSL:
wsl --update(from Windows PowerShell) - Restart WSL:
wsl --shutdownthen restart - Check WSLg:
echo $DISPLAYshould show:0 - Verify Windows 11 version supports WSLg
Project Issues
Project Won't Open
Problem: Unreal project fails to open
Solutions:
- Verify project file (.uproject) is valid JSON
- Check project is compatible with UE5.4
- Regenerate project files:
- Right-click .uproject > Generate Visual Studio files (Windows)
- Or use UnrealVersionSelector (Linux)
- Check engine association in .uproject file
Engine Features Not Working
Problem: Nanite, Lumen, or other features not working
Solutions:
- Verify features enabled in Project Settings
- Check GPU supports required features
- Update to latest engine version
- Check project settings: docs/setup/PROJECT_SETTINGS.md
Performance Issues
Problem: Low FPS, stuttering, or lag
Solutions:
- Update GPU drivers
- Check system meets requirements
- Lower viewport quality settings
- Disable unnecessary plugins
- See Performance Optimization
Script Issues
Script Permission Denied
Problem: Permission denied when running script
Solution:
chmod +x scripts/script_name.sh
./scripts/script_name.sh
Script Fails with Error
Problem: Script exits with error code
Solutions:
- Check script logs:
logs/script_name.log - Run with verbose output:
./scripts/script_name.sh --verbose - Check prerequisites are met
- Review script documentation
Python Script Import Error
Problem: ModuleNotFoundError: No module named 'X'
Solution:
pip install -r requirements.txt
Version Control Issues
Git LFS Not Working
Problem: Large files not tracked by Git LFS
Solutions:
- Install Git LFS:
git lfs install - Verify .gitattributes file exists
- Check file types are tracked in .gitattributes
- Re-add files:
git add --renormalize .
Large File Push Fails
Problem: Push fails due to large files
Solutions:
- Ensure Git LFS is installed and configured
- Check .gitattributes includes file types
- Verify Git LFS is tracking files:
git lfs ls-files - Check repository size limits
Build and Packaging Issues
Build Fails
Problem: Project build fails
Solutions:
- Clean build: Delete
Binaries/andIntermediate/folders - Regenerate project files
- Check for compilation errors in logs
- Verify all dependencies are installed
- Check project settings are valid
Packaging Fails
Problem: Project packaging fails
Solutions:
- Check packaging settings in Project Settings
- Verify all required content is included
- Check for missing dependencies
- Review packaging logs for errors
- See Build Packaging
Performance Issues
Low FPS
Problem: Frame rate below target (60-90 FPS)
Solutions:
- Check performance targets: PERFORMANCE_TARGETS.md
- Profile with Unreal Insights
- Optimize assets (LODs, textures)
- Adjust quality settings
- See Performance Optimization
High Memory Usage
Problem: High RAM/VRAM usage
Solutions:
- Check memory usage: Unreal Insights
- Optimize texture sizes
- Use texture streaming
- Reduce LOD distances
- Check for memory leaks
Getting Help
If you can't resolve an issue:
-
Check Documentation:
- Documentation Index
- FAQ
- Relevant system/workflow docs
-
Review Logs:
- Script logs:
logs/directory - Unreal Engine logs:
Saved/Logs/ - System logs
- Script logs:
-
Search Issues:
- Check if issue is already reported
- Search project documentation
- Search Unreal Engine forums
-
Report Issue:
- Follow Bug Tracking Guide
- Include error messages
- Include system information
- Include steps to reproduce
Last Updated: 2024