Search Issue Tracker
Fixed
Votes
4
Found in
4.1.0f4
Issue ID
535459
Regression
No
Error on script with [ExecuteInEditMode] adds a component with hideFlags set to HideAndDontSave
- Create a script Bar.cs
- Create a script Foo.cs which attribute [ExecuteInEditMode], which adds Bar monoBehaviour to the gameObject and sets its hideFlags property to HideAndDontSave
- Click Play. The error message appears: "Component MonoBehaviour could not be loaded when loading game object. Cleaning up!"
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Line Renderer Component elements do not fit in the Inspector window when minimising Inspector window is minimised
- “Do you want to apply changes?” warning pop-up appears when adding and removing list items in Player settings
- Line Renderer flickering in HDRP project when second Material field is set to None
- Texture 2D Importer fails to assing a default value to the "namefileidtable" when using a texture preset
- "ProcessRootMotion" method is called when "Apply Root Motion" is disabled in the Animator
Add comment