Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2018.4
2019.4
2020.3
2021.1
2021.1.0f1
2021.2
Issue ID
1344552
Regression
No
[Mono Upgrade]FileSystemWatcher FileSystemWatcherArgs.Name variable returning the full path instead of the relative file name
How to reproduce:
1. Open the attached project "FullPathBug.zip"
2. Click Play
3. Open the "Duplicate Me!.txt" file
4. Modify and save it
Expected result: "Changed", file name, and file path is printed to the Console
Actual result: "Changed", file name, and two file paths are printed to the Console
Reproducible with: 2018.4.34f1, 2019.4.28f1, 2020.3.13f1, 2021.1.13f1, 2021.2.0b1
Notes:
1. The FilePath in 2021.2 prints two concatenated file paths
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a3