Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.2.X, 2018.3.X
Votes
1
Found in
2018.2.8f1
Issue ID
1082699
Regression
No
Unity doesn't recognize missing assembly references when moving a script that's referred by others from one assembly to another
Repro steps:
1. Open attached project
2. Drag "Foo.cs" from "Assets/Scripts/Foo" to "Assets/Scripts/Bar"
3. Wait for the Editor to Hot Reload
Expected: "error CS0246: The type or namespace name `Foo' could not be found. Are you missing an assembly reference?" is thrown in the Console
Actual: No errors are thrown after the Hot Reload
Reproducible with: 2018.2.9f1, 2018.3.0b3, 2019.1.0a2
Not reproducible with: 2017.4.11f1
Fixed in: 2019.1.0a4
Backported to: 2018.2.13f1, 2018.3.0b6
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
- [Android] Memory leaks ~100mb with each HTTP request until Player crashes on IL2CPP ARMv7 builds
- Item selection is offset below when UIToolkit ListView is set to dynamic height mode
- Script recompilation doesn't trigger automatically when switching build targets
- Text gets pushed to the left when typing in a text field
- "The provided object cannot be assigned a managed reference ID because it cannot be serialized on a [SerializeReference] field." thrown in the Console window when using SerializationUtility.SetManagedReferenceIdForObject with an Enum value
mmortall
Sep 25, 2018 11:18
Have the same issue in 2018.2.9f1