Search Issue Tracker


Fixed in 2020.3.38f1, 2021.3.7f1, 2022.1.8f1, 2022.2.0b2, 2023.1.0a5



Found in


Issue ID




[IL2CPP] Project with NHibernate library fails to Build when using IL2CPP Scripting Backend

Affects Version


Reproduction steps:
1. Open the attached project ""
2. Build the project using IL2CPP Scripting Backend

Expected result: Build was successful
Actual result: Build failed: "UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors"

Reproducible with: 2021.3.2f1, 2022.1.0f1, 2022.2.0a13
Could not test with: 2019.4.38f1, 2020.3.34f1 - due to errors in the Console

Reproduced on: Windows 10 Pro

1. This project uses the NHibernate library
2. The issue is not reproducible when using Mono Scripting Backend

  1. Resolution Note (fix version 2023.1.0a5):

    Fixed in: 2023.1.0a5

  2. Resolution Note (fix version 2022.2.0b2):

    Fixed in: 2022.2.0b2

  3. Resolution Note (fix version 2022.1.8f1):

    Fixed in: 2022.1.8f1

  4. Resolution Note (fix version 2021.3.7f1):

    Fixed in: 2021.3.7f1

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.