Search Issue Tracker
Won't Fix
Votes
1
Found in
4.6.0f3
Issue ID
656001
Regression
No
[HideInInspector] Script with HideInInspector hideFlags and [ExecuteInEditMode] attribute cannot be removed
Script with HideInInspector hideFlags and [ExecuteInEditMode] attribute cannot be removed from gameobject after deleting it from the project and 'Missing component' is printed every time when playing the project
To reproduce this issue:
1 - Open the attached project
2 - It has a script that has the [ExecuteInEditMode] attribute and hideFlags=HideInInspector in the Start method (NewBehaviourScript in the project
3 - Attach this component to a GameObject in the scene.
4 - Delete this script from project
5 - Hit play to see a message that there is a MissingComponent in the GameObject,
6 - If you select it you cannot see the missing component in the Inspector view and it is also a null object that cannot be removed via scripting
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Tehelee
Jun 11, 2015 23:25
This is the fogbugz ticket I submitted, it's very similar to this, Unity has yet to verify the issue.
http://fogbugz.unity3d.com/default.asp?700885_0iee871r92ovtqja