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
- Trees painted on a Terrain are not affected by any Wind Zone when those trees are part of an LOD Group
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
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.