Search Issue Tracker
By Design
Won't Fix in 2023.1.X
By Design in 2023.1.X
Votes
0
Found in
2023.1.0a1
Issue ID
UUM-3544
Regression
No
UnityEditor.Editor OnGetFrameBounds() callback is not called when ancestor is framed
Reproduction steps:
1. Open the attached project "FrameTest"
2. Open Scenes/SampleScene
3. Select "Ancestor" GameObject in the Hierarchy and press F to frame the GameObject
Expected result: "OnGetFrameBounds" is logged to the Console.
Actual result: "OnGetFrameBounds" is not logged to the Console.
Reproducible with: 2019.4.32f1, 2020.3.22f1, 2021.1.26f1, 2021.2.1f1, 2022.1.0a15
Notes:
- When framing the "Child" GameObject, the "OnGetFrameBounds" message is logged to the Console.
- OnGetFrameBounds() is called from the Editor/MyMonoBehaviourEditor.cs Script
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
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
- PhysicsRaycaster ray length is incorrect when casting from rotated Camera
- Crash on EnumerateDisabledKeywordsInVariantsArray or UNITY_XXH32 when rapidly saving ShaderGraph or VFXGraph changes
- White flickering artifacts are present on dynamic objects when doing rotation/movement and using APV
Resolution Note:
Current behaviour is by design - Editor.OnGetFrameBounds should only be called if the currently selected target matches the target type of the custom editor. If the user wants to consider the bounds of a target's children, they may do so within the Editor.OnGetFrameBounds for that target - see doc: https://docs.unity3d.com/ScriptReference/Editor.OnGetFrameBounds.html.
Resolution Note (2023.1.X):
Current behaviour is by design - Editor.OnGetFrameBounds should only be called if the currently selected target matches the target type of the custom editor. If the user wants to consider the bounds of a target's children, they may do so within the Editor.OnGetFrameBounds for that target - see doc: https://docs.unity3d.com/ScriptReference/Editor.OnGetFrameBounds.html.
Resolution Note (2023.1.X):
Current behaviour is by design - Editor.OnGetFrameBounds should only be called if the currently selected target matches the target type of the custom editor. If the user wants to consider the bounds of a target's children, they may do so within the Editor.OnGetFrameBounds for that target - see doc: https://docs.unity3d.com/ScriptReference/Editor.OnGetFrameBounds.html.
Resolution Note:
Current behaviour is by design - Editor.OnGetFrameBounds should only be called if the currently selected target matches the target type of the custom editor. If the user wants to consider the bounds of a target's children, they may do so within the Editor.OnGetFrameBounds for that target - see doc: https://docs.unity3d.com/ScriptReference/Editor.OnGetFrameBounds.html.
Resolution Note:
Current behaviour is by design - Editor.OnGetFrameBounds should only be called if the currently selected target matches the target type of the custom editor. If the user wants to consider the bounds of a target's children, they may do so within the Editor.OnGetFrameBounds for that target - see doc: https://docs.unity3d.com/ScriptReference/Editor.OnGetFrameBounds.html.
Resolution Note:
Current behaviour is by design - Editor.OnGetFrameBounds should only be called if the currently selected target matches the target type of the custom editor. If the user wants to consider the bounds of a target's children, they may do so within the Editor.OnGetFrameBounds for that target - see doc: https://docs.unity3d.com/ScriptReference/Editor.OnGetFrameBounds.html.