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

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

  1. Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.0a18

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.