- Home /
pixels shown in game view that are not there in the scene
as you can see the pixels of the spritesheet that shouldnt be selected for the sliced sprite still appear in the game view for some reason
t][1]
Hey man, I'm not entirely sure but if you zoom in on the sprite editor, it looks like the outside edge line is one pixel into the green and black pattern, is that what you're seeing, can you make this 1 pixel smaller?
Although this doesn't explain the difference between editor and game, maybe the editor somehow uses the pixels inside the selection, whereas the game uses pixels inside and pixels under the border selection box too?
@jimmycrazyskills so i found some youtube video that explained how unity always thinks that there is a little empty space between sprites (it was about tilemaps but it seems to be the same for sprites in generel). To fill in that little space unity automaticly picks the next tiny little piece out of the spritesheet. i just changed the spritesheet so that theres an pixel inbetween all the sprites and that totally works.