Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2019.4
2020.3
2020.3.20f1
2021.1
2021.2
Issue ID
1372034
Regression
No
FileSystemWatcher throws debug assertion error when building with IL2CPP
Reproduction steps:
1. Open the attached project
2. Go to Edit -> Project Settings -> Player
3. Set "Scripting Backend" to IL2CPP
4. Set "C++ Compiler Configuration" to Debug
5. Press File -> Build And Run
Expected result: Build runs with no errors
Actual result: Debug assertion error is thrown when the build is ran
Reproducible with: 2019.4.32f1, 2020.3.21f1, 2021.1.27f1, 2021.2.0a17
Not reproducible with: 2021.2.0a18, 2021.2.0f1, 2022.1.0a13
Notes:
- Doesn't reproduce with Mono Scripting Backend
- After pressing "Ignore" in the error window the build appears to still work correctly
- Reproducible with .NET 4 and .NET Standard 2.0 API
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
- 2D light leaks through ShadowCaster2D when ShadowCaster2D components are disabled then re enabled at runtime in Player builds
- Unity Hub redirects to The Unity Roadmap when navigating to “Send Feedback” option
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a18