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
- Crash on GizmoDrawingPhysics2D::DrawCompositeCollider2DGizmo when opening a Scene that has corrupted GameObjects with Tilemap Components
- Scrolling vertically and horizontally is very fast when in Play Mode and RuntimeInputBackend is set to UIToolkitInputBackendOption.Default
- Crash on MemoryProfiler::UnregisterAllocation when initializing entities and leaving Play Mode with Occlusion Culling enabled
- Crash on mdb_page_alloc when opening a project that was running while the PC shut down
- macOS Player freeze when using RunInBackground and Command+Tabbing to and from the application
Add comment