Search Issue Tracker
By Design
Votes
0
Found in
2022.1.0a1
2022.1.0a5
Issue ID
1359440
Regression
Yes
Entering play mode causes Sprite Editor window to split into two mirrored parts.
Entering play mode causes Sprite Editor window to split into two mirrored parts.
Image & video of this occurring included in the case comments.
Repro:
1. Start a new project.
2. Install '2D Sprite' package from Package Manager. (Window -> Package Manager)
3. Import an image. (Used a .png image to test this.)
4. Click on the image in the Project tab to open image Import Settings in the Inspector.
5. In the Import Settings:
- Set Texture Type -> Sprite (2D and UI)
- Apply Changes
6. From the Import Settings, click on the 'Sprite Editor' button.
7. With the Sprite Editor window open, enter Play Mode.
Expected Outcome: Nothing unexpected happens to any open window.
Actual Outcome: The Sprite Editor window splits into two mirrored parts.
Reproducible in 2022.1.0a5, 2022.1.0a1
Not Reproducible in 2021.2.0b9, 2020.3.17f1, 2019.4.29f1, 2018.4.36f1
Using Sprite Editor 1.0.0 - same package version is used across all unity editor versions.
----------
Notes:
- Tested on MacOS and Windows.
- UI Toolkit Debugger shows two "#spriteEditorWindowMainView .unity-imgui-container" components when the window splits.
- Can be returned to expected state by reopening the window, or clicking 'UI Toolkit Live Reload'.
- Window seems to still be usable, just has two mirrored views.
- Did not find other windows that did this.
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (2022.1.X):
Issue was related to user code manually calling CreateGUI() from the onGUI() callback.