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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
turbanov
Mar 06, 2019 12:36
Why won't fix?