Description

UnrealTraceServer exits on startup (or when watching a directory) when a watched store directory contains a symlink on Windows.

Cause: The std::filesystem::directory_entry::is_directory() call throws an unhandled exception.

Steps to Reproduce
  1. On Windows, create a symlink in a watched directory on an NTFS filesystem. One way is to create it with WSL. The symlink target file does not need to exist.
    cd /mnt/c/Users/user.name/AppData/Local/UnrealEngine/Common/UnrealTrace/Store/001
    ln -s target link
    
  2. Start UnrealTraceServer.exe daemon

Observation: UnrealTraceServer prints the settings then terminates.
Expectation: UnrealTraceServer continues running as a daemon.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-229181 in the post.

0
Login to Vote

Fixed
Fix Commit37608725
CreatedOct 30, 2024
ResolvedOct 30, 2024
UpdatedNov 20, 2024
View Jira Issue