Search Issue Tracker
By Design
Votes
0
Found in
4.6.0b17
Issue ID
627641
Regression
No
The new GUI sliced images doesn't work correctly with orthographic cameras with a small size at world coordinates
To reproduce:
1. Create new project
2. Import attached sprite
3. Set camera to orthographic Projection of size 5 (default one)
4. Set all boarder in sprite editor to 10
5. Apply changes
6. Add Image game object to scene (UI->Image)
7. Set sprite as Source Image on Image (Script) component
8. Set Image Type to Sliced and unselect Fill Center option
9. In Rect Transform component set Pos X to 37.9, Pos Y to 4.28, Width to 23.86, Height to 25.69
10. Notice that sliced images doesn't work correctly with orthographic cameras with a small size at world coordinates.
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
eyalfx
Dec 24, 2014 00:49
I've got the same issue in 4.6.1.f1
My image is a power of two, and the sliced image looks stretch when you scale it up.
Helical
Dec 15, 2014 08:45
is your image the power of 2? make sure your image dimensions is 2,4,8,16,32,64,128, , , , 20202020202020202020 :)