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
- Text render issues and various exceptions in TextCore when using TextSettings option "Match Material Presets"
- NullReferenceException error is thrown when unpacking multiple instances of the same UI Document
- URP Decal Projectors don't render when they are hidden in the Hierarchy, unlike other GameObjects
- Reflection Probe “adjusting number of stops to over or under expose the texture” setting does not update in Scene realtime
- UI Toolkit rendered text breaks when toggling FontWeight styles through code
Add comment