Search Issue Tracker
Won't Fix
Votes
1
Found in
2018.1.0a2
2018.4
2019.3.1f1
2020.2
Issue ID
1221253
Regression
No
Scripts from imported custom libraries have the old C# script icon set in the Inspector
How to reproduce:
1. Open attached project (1221253.zip)
2. In the Project window select the "TestScript"
3. Observe the icon in the top left corner of the Inspector window
4. In the Project window expand the "TestLibrary" and select the "MyBehavior" script
5. Observe the icon in the top left corner of the Inspector window
Expected result: The "MyBehavior" script has the same icon as the "TestScript"
Actual result: The "MyBehaviour" script has a C# script icon from the old Unity Editor UI (before 2018.1.0a2)
Reproducible with: 2018.1.0a2, 2018.4.18f1, 2019.3.3f1, 2020.1.0a25, 2020.2.0a1
Not reproducible with: 2017.4.37f1, 2018.1.0a1
Notes:
1. The same issue occurs when the script is attached to a GameObject and its component's icon also uses the old Unity C# script icon. There is a GameObject named "DLL Object" in the scene with both the "TestScript" and "MyBehavior" scripts attached
2. Reproducible on a Windows 10 PC and Mac
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mesh Rendered GameObject using the SpriteLitDefault Material becomes invisible when animating with the URP Sprite-Lit-Default Shader
- Compilation errors occur when using PluginAPI headers in a C environment
- Profiler connects to a different opened Editor project when more than one project is open and building for WebGL with Autoconnect Profiler enabled
- Creating and then deleting the "Integration Update: Rotation" block breaks and makes unusable VFX Graph
- “ArgumentNullException: Value cannot be null.” when deleting a newly created input action
Resolution Note:
Low priority defect and unlikely to be fixed for the near future.