- Home /
how do I fix the error messege "trying to read pixel out of bounds unityeditor.DockArea:OnGui ()
I have created sprite atlas with all the components for my character sprite. I saved it as a png.
The atlas showsup fine when I add it to the scene view.
But when I open the sprite editor to slice the image up it doesnt appear. And the error messege shows "Trying to read pixel out of bounds unityeditor.dockarea:ongui ()
How do I fix this?
Answer by Xeong-Hu · Aug 20, 2014 at 06:43 PM
Just figured it out. It's probably your size bro.
My image was like 5700 H and 5000 Width or so. (Cant remember)
I made my size 1200 ad it worked out.
Click on Sprite and look at Max Size. You'll notice it doesn't support sizes higher than 4096 that could be why it was going all crazy.
Hope that helps dude. If not then idk if I could help any further, I'm not really an expert lol, just observing the situation.
Your answer
Follow this Question
Related Questions
Unity 4.6: Where's the sprite editor? 1 Answer
[SOLVED] Skinning editor doesn't show sprites and gives multiple errors (is blank) 1 Answer
How can I open the Sprite Editor from script? 1 Answer
Access custom Mesh Outline from new Sprite Editor as a path 0 Answers
2d sprite not showing in sprite editor 0 Answers