Search Issue Tracker
Fixed in 2017.3.0f3
Votes
0
Found in
2017.1.0b8
Issue ID
917810
Regression
Yes
'Missing Behavior' component can not be seen or removed from Game Objects it was assigned to
After a script is deleted, it is impossible to see the 'Missing Behavior' component to remove it from game objects it was assigned to.
To reproduce:
1. Download attached project "BehaviourMissing.zip" and open in Unity
2. Open "BehaviourMissing" scene
3. Enter to Play mode
To reproduce from scratch:
1. Create a C# Script called "TestingScript.cs"
2. Create a "TestingGameObject" GameObject in the Scene
3. Assign TestingScript.cs to TestingGameObject
4. Run. Ensure no warnings
5. Delete TestingScript.cs. Do not delete TestingGameObject
6. Look at TestingGameObject. It says it is missing the script (normal)
7. Run.
8. Warning about missing behavior appears (NORMAL & EXPECTED)
9. Stop the Scene
10. Look at the TestingGameObject
Expected Result: GameObject should have an empty script entry with 'Missing Behaviour' so you can add a new one or remove it.
Actual Result: The missing behavior can not be seen. No way to delete or reassign it. You need to delete the game object to get rid of the warnings.
Reproduced on Unity 2017.1.0b6, 2017.1.0b8 and 2017.2.0a2
Not reproduced on Unity 2017.1.0b5
Regression on Unity 2017.1.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
- 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
phillipesq
May 11, 2024 23:49
I have this problem in Unity 2022.3.14f1:
"The referenced script (Unknown) on this Behavior is missing"
Which object? Which script?
Does anyone know how I can modify this system message so that it writes the name of the object and script as soon as the absence is detected, as soon after all the files are deleted or recreated and I simply don't know what it would be!
drHogan
Jul 15, 2019 10:05
Hi, 2018.4 and I have the same issue
robinjansen51
Jun 18, 2019 19:12
I'm using 2019.2.0b4 and have the same issue.
snarlynarwhal
Feb 20, 2019 04:04
I use 2018.3.6 and also have this issue.
dougdodd
Feb 15, 2018 01:28
I am using Unity 2017.3.0f3 and the issue is still here. I inherited this project from someone else and I have 999+ of these warnings. Tried reimporting all, tried making custom package of everything and importing this into new project. Still have 999+ of these warnings.