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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note (2022.1.X):
Issue was related to user code manually calling CreateGUI() from the onGUI() callback.