Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2018.4.23f1
2019.3
2020.1
2020.2
Issue ID
1250673
Regression
No
Unity overrides certain scripts even when they are named differently
When importing a certain package that has a similar named script - in this case - "ScrollRectOcclusion" vs "UI_ScrollRectOcclusion" the asset importer tries to override that script. the user will only get the option to override that script or not import it at all, which will cause issues both ways.
Also, due to the fact that there is a GUI conflict, which causes the original file to be overridden, references in the package to that script are overridden.
To repro:
- download this project
- download the attached "import_me.unitypackage"
- notice that it't trying to override that script
- notice that the prefab will now reference the UI_ScrollRectOcclusion.cs, instead of the original - ScrollRectOcclusion.cs
reproducible in 2018.4.23f1, 2019.3.13f1, 2020.1.0b10 and 2020.2.0a11
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shadows are not cast when the Light's CullingMask and the GameObject's Layer do not match
- Graphics.DrawMeshInstanced does not work when 2D Renderer and 2D Shaders are used
- SpeedTree does not move when using WindZone
- "Undeclared identifier 'LinearToSRGB'" error is thrown when creating a color variable with HDR color mode and assigning a Custom Render Texture target in Shader Graph
- Input System package is missing when creating a new HDRP project
Add comment