Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I was having the same problem. I guess maybe in the script DirePixel concatenates path + texture name and if there's no slash at the end of the path it'll read it completely differently? Idk. All I know is "BaseAnims/part1/4har/" is different from "BaseAnims/part1/4har". Great script once it's working!

(+1)

Correct. /4har without the ending slash means a file beginning with 4har. The final slash in /4har/ tells the script it is a folder, not a file. It then looks for the name of the attached texture2d in that folder. Forgetting that final / is a no go