Search Issue Tracker
By Design
Votes
0
Found in
2020.3
2020.3.16f1
2021.1
2021.2
2022.1
Issue ID
1359660
Regression
No
Different Draw Mode in 2D 9-Sliced Sprite when creating in Hierarchy and Project
How to reproduce:
1. Create a new project with a 2D template
2. In the Hierarchy window create "9-Sliced" GameObject (Right click>2D Object>Sprites>9-Sliced)
3. In the Project window create "9-Sliced" GameObject (Right click>Create>2D>Sprites>9-Sliced)
4. Place "9-Sliced" GameObject created in the Project window to the Hierarchy
5. In the Hierarchy select the "9-Sliced" GameObject created from the Hierarchy window
6. Observe Draw Mode in the Inspector
7. In the Hierarchy select the "9-Sliced" GameObject created from the Project window
8. Observe Draw Mode in the Inspector
Expected result: Both "9-Sliced" Draw Modes are the same
Actual result: Sprites Draw Mode is different. "9-Sliced" created from Hierarchy is Tiled and "9-Sliced" from Project is Simple
Reproducible with: 1.0.0 (2020.3.16f1, 2021.1.20f1, 2021.2.0b10, 2022.1.0a7)
Could not test with: 2019.4.301 (Didn't find 9-Sliced)
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
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
Resolution Note:
The menus are executed in different context.
Right click>2D Object>Sprites>9-Sliced
-> This creates a GameObject with SpriteRenderer setup for 9-sliced
Right click>Create>2D>Sprites>9-Sliced
-> This creates an Asset that has bordered defined ready to be used for 9-sliced.
Dragging a Sprite Asset into the Hierarchy/SceneView to create a SpriteRenderer GameObject will always create a SpriteRenderer with it's default settings.