Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2021.2.X

Votes

0

Found in

2021.2

2021.2.0a21

2022.1

Issue ID

1344045

Regression

No

PlatformNotSupportedException gets thrown when changing IO.FileSystemWatcher.EnableRaisingEvents value

Mono

-

How to reproduce:
1. Download the attached project from the Google Drive link
2. In the File Explorer open the 'Build' folder
3. Drag the 'Editor.log' file on the 'Unity Log File Reader.exe'
4. Open the 'Player.log' file

Expected result: No exceptions present
Actual result: PlatformNotSupportedException is logged in the Player.log file

Reproducible with: 2021.2.0b2, 2022.1.0a1
Cannot test with: 2018.4.36f1, 2019.4.28f1, 2020.3.13f1, 2021.1.14f1 (project breaks after downgrading)

Note:
- The build in the 'Build' directory is made with 2022.1.0a1

  1. Response avatar

    Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.0a13

  2. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.0b16

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.