Search Issue Tracker

Not Reproducible

Votes

0

Found in

6000.0.37f1

Issue ID

UUM-108965

Regression

Yes

InternalCallRegistrationWriter attempts to launch with Mono when building the project with the IL2CPP Scripting Backend

-

How to reproduce:
1. Open the attached "IN-95032" project
2. Build the project for the Android platform
3. Observe the Console window

Expected result: Project is built without errors
Actual result: Project fails to build with an “Building \…\UnityICallRegistration.cpp failed with output:" error message

Reproducible in: 2023.2.20f1, 6000.0.37f1 (customer)
Not reproducible in: 2022.3.63f1 (customer)

Reproducible on: Windows 10 (customer)
Not reproducible on: macOS 15.5 (M1)

Notes:

  • CQA could not reproduce this issue internally
  • Also reproducible when building for WebGL and other platforms that support IL2CPP
  • According to the customer, the issue does not occur in the 2022.x streams.
  • Issue is also speculated to be reproducible in other Unity 6 streams

Workaround: Renaming mono.exe to mono_old.exe and adding lines of code pictured below to mono.bat resolves this issue entirely:

{noformat}echo %~nx1
IF "%~nx1"=="InternalCallRegistrationWriter.exe" (
"D:/UnityEditors/2023.2.20f1/Editor/Data/Tools/InternalCallRegistrationWriter/InternalCallRegistrationWriter.exe" %2 %3 %4 %5 %6 %7 %8 %9
) ELSE (
D:\UnityEditors\2023.2.20f1\Editor\Data\MonoBleedingEdge\bin\mono_old.exe %*
){noformat}

  1. Resolution Note:

    The bug cannot be reproduced. The given project compiled successfully.

Add comment

Log in to post comment