Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
1
Found in
2017.4.0f1
2018.4.0f1
2019.2.0a1
2019.2.4f1
2019.3.0a1
2020.1.0a1
Issue ID
1183014
Regression
No
Renderer components cause Behaviour missing warnings to appear when recompiling in Play Mode
Repro steps:
1. Open user attached project
2. In the Hierarchy window, select "Main Camera" and add a "Sprite Renderer" component
3. Enter Play Mode
4. In the Project window, from the Assets folder, open "testScript.cs", change the string in line 10 and save the file
5. Go back to the Editor
Expected result: Script is compiled and no warnings appear
Actual result: "The referenced script (Unknown) on this Behaviour is missing!" warning appears
Reproducible with: 2017.4.32f1, 2018.4.10f1, 2019.2.7f2, 2019.3.0b5, 2020.1.0a6
Note: Also reproducible with Sprite Mask, Tilemap and SpriteShape Renderers
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (2020.1.X):
This issue is widely present with a lot of Unity's built-in Inspectors, and won't fully go away until each team fixes the Inspectors they own. The warnings are harmless and can be safely ignored. A workaround is to not select any Inspector when recompiling your scripts in Play Mode.