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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (2022.1.X):
Issue was related to user code manually calling CreateGUI() from the onGUI() callback.