Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Sprite Editor and Grid size problem

Discussion in 'Editor & General Support' started by dunaj, Aug 12, 2015.

  1. dunaj

    dunaj

    Joined:
    Sep 13, 2014
    Posts:
    3
    Hello, I'm looking for some help with Sprite Editor and it's Slice function.
    I have a little bit specific size Sprite Sheets - 4096px x 256px. As you know size is PoT. What do i do next:

    - set Sprite Mode to Multiple
    - go to Sprite Editor
    - click Slice
    - change Type to Grid
    - put Pixel Size Y to for example 200

    Now when I change input to any other in Slice box it will automagically change above value from 200 to 128.
    Can you guys please tell me if it is some kind of desired effect or just a bug?
    I cant change size of Slice-Grid function only with horizontally big images (huge width and small height). I haven't try it with vertical images tho.
    Btw. I can change size of each wrong sliced frame "by hand" but it's a lot of work when you have many of them.
    Thanks everybody!
     
    Last edited: Aug 12, 2015
  2. dunaj

    dunaj

    Joined:
    Sep 13, 2014
    Posts:
    3
    Hello again. I found an answer myself.
    What I had to do was:

    - select Texture in project folder in Unity
    - click Override for Standalone in Inspector
    - set max size to 4096

    After this change slice function works well.
     
    LoveraSantiago likes this.
  3. LoveraSantiago

    LoveraSantiago

    Joined:
    Nov 20, 2017
    Posts:
    18
    This helps me! Thank you.

    Before I find it, I've lose about two hours with wrong grid.