Search Issue Tracker
Active
Under Consideration for 6000.6.X
Votes
0
Found in
6000.0.76f1
6000.3.16f1
6000.4.9f1
6000.5.0b10
6000.6.0a6
Issue ID
UUM-143866
Regression
No
Import Error Code (4) warnings spam in Console when selecting a modified C# script with Auto Refresh disabled and Visual Studio set as External Script Editor
Steps to reproduce:
- Create a new project
- Open Edit > Preferences > External Tools
- Make sure Visual Studio is selected as the External Script Editor
- Open Edit > Preferences > Asset Pipeline
- Set Auto Refresh to Enabled
- Create a new C# script, or modify an existing C# script, using Visual Studio or Visual Studio Code
- Save the script
- Wait for Unity to automatically refresh the script
- Open Edit > Preferences > Asset Pipeline again
- Set Auto Refresh to Disabled
- Modify the same C# script again
- Save the script
- In the Unity Editor, select the modified script in the Project window
- Observe the Console
Actual Result: The Console starts spamming warnings such as [Worker4] Import Error Code:(4)
Expected Result: The Console remains clean
Reproducible with: 6000.0.0f1, 6000.0.76f1, 6000.3.16f1, 6000.4.9f1, 6000.5.0b10, 6000.6.0a6
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
-Reproducible when scripts are modified in both Visual Studio and Visual Studio Code
-A manual refresh of the changed script resolves the issue
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- AdaptiveLOD sample has missing prefabs and throws missing prefab errors when the AdaptiveLOD sample is imported and the AdaptiveLOD scene is opened
- Error "transform.position assign attempt for 'x' is not valid" is logged when Moving Game Object to View while a Scene is multi selected
- [Desktop] Plastic move detection mixes up identical files
- SVG Icon has tessellation issues in "Antialiased Arc Encodings", ok with "Basic Triangulation"
- "You may not pass null objects" and "Maximized serialized file backup not found" errors are thrown when maximizing and minimizing docked Multiplayer Play Mode window after Multiplayer Play Mode package is uninstalled
Add comment