Skip to content

Hardcoded Windows engine scan paths are duplicated and inconsistent across Rust and TypeScript #57

Description

@salonitiwari24

Description

The default Unreal Engine scan paths are currently hardcoded in multiple locations:

  • native/src/lib.rs
  • src/shared/platformPaths.ts
  • Documentation (AboutKnownIssues.tsx)

The path lists are not completely aligned and include developer-specific directories such as:

D:\Engine\UnrealEditors
D:\Unreal

Maintaining multiple independent copies makes future updates error-prone and can cause inconsistent engine discovery behavior across different scanning implementations.

Expected Behavior

The application should maintain a single source of truth for default engine scan locations, using standard Unreal Engine installation paths.

Current Behavior

Different modules maintain their own hardcoded path lists.

Proposed Solution

  • Centralize default scan paths.
  • Remove developer-specific paths.
  • Ensure Rust and TypeScript use the same defaults.
  • Update related documentation if necessary.

Additional Context

This improves portability and reduces maintenance overhead.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions