Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.1.1f1
Issue ID
953158
Regression
No
"The referenced script on this Behaviour is missing!" warning duplicates during recompile in Play mode with a Canvas selected
How to reproduce:
1. Create new empty project
2. Create UI -> Canvas
3. Create new C# Script in Project Window and open it
4. Enter Play Mode in Editor and select Canvas in Hierarchy window
5. Edit script, save it, go back to Unity (make sure Canvas is selected) and wait till script recompiles
6. Do 4-5 steps few times
Expected result: Warning message appears one time if script saved
Actual result: Warning message appears one time in the first time and doubles itself in the second time. Every time you do 4-5 step, warning message doubles. This error will appear on every recompile until Unity is restarted. Doubleclicking on the warning doesn't cause anything to get selected as it's not caused by a scene object.
Reproduced with: 5.5.4p3, 5.6.3p4, 2017.1.1p3, 2017.2.0f1, 2017.3.0b2
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
turbanov
Mar 06, 2019 12:36
Why won't fix?