Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions Request on restricted folders on macOS #1931

Open
bitsandfoxes opened this issue Dec 6, 2024 · 0 comments
Open

Permissions Request on restricted folders on macOS #1931

bitsandfoxes opened this issue Dec 6, 2024 · 0 comments

Comments

@bitsandfoxes
Copy link
Contributor

bitsandfoxes commented Dec 6, 2024

Issue

When running an application on macOS from within restricted directories such as Downloads, Documents, or Desktop, users encounter a "Request access to files" popup.
Image

Cause

This behavior is caused by the HttpClient invoking CommonUnixIPGlobalProperties.getDomainName, which requires file access.

Impact

  • The popup is triggered by default and may be undesirable for some users.
  • Not granting access does not affect error reporting.

Proposed Solutions

  1. Preferable: Find a way to avoid invoking the domain name resolving.
  2. Make the UnityBackgroundWorker public. It relies on UnityWebRequests for sending events.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant