Unity Issue Tracker - Internal build system error when trying to reference the main Assembly-CSharp
Closed
UUM-48987
Internal build system error when trying to reference the main Assembly-CSharp
Unity: Scripting Buildtime
Won't Fix
2023.3.X
2023.2.X
2023.1.X
2022.3.X
This is more a feature request than a bug, as this is not supported workflow.
I do see a lot of value in it, and it is something we have planned of supporting
Reproduction steps:
1. Open the attached "PROJECTFILE" project
2. Observe the Console window
Expected result: No console errors
Actual result: Console error “Internal build system error. BuildProgram exited with code 134.
Unhandled exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.” can be seen
Couldn't test with: 2021.3.30f1 (Different console error “The type or namespace name 'MonoBehaviour' could not be found (are you missing a using directive or an assembly reference?“))
Reproducible on: macOS 13.4.1 (M1 Max)
Not reproducible on: No other environment tested
Prioritise and Follow this issue
Have a workaround or additional info about this issue?