Unity Issue Tracker - "error CS0103: The name 'EditorUtility' does not exist in the current context" error is thrown when building the project
Closed
UUM-12556
"error CS0103: The name 'EditorUtility' does not exist in the current context" error is thrown when building the project
Unity: Build Systems
As Designed
2023.1.X
2022.2.X
2022.1.X
2021.3.X
2020.3.X
Explained in email to user
Steps to reproduce:
1. Open the user’s attached project
2. Open Assets/Scenes/ComputeShadeTest.unity
3. Navigate to File > Build Settings and press the “Build And Run” button
Expected result: Build successfully compiles
Actual result: "error CS0103: The name 'EditorUtility' does not exist in the current context" error is thrown