Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: "Can't find texture pixel" when opening layer manager in Unity 4.0 #54

Closed
paulhoux opened this issue Feb 8, 2013 · 4 comments
Closed

Comments

@paulhoux
Copy link

paulhoux commented Feb 8, 2013

Hi,

we've just bought ex2D to use it in a Unity 4.0 project, but apparently it's not 100% compatible. After attaching a Layer Manager Component to the Main Camera and pressing the "Edit..." button, the Layer Manager window appears but stays empty. The following error is generated dozens of times:

can't find texture pixel
UnityEngine.Debug:LogError(Object)
exEditorHelper:WhiteTexture() <-- this line varies between different error messages
exEditorHelper:DrawRect(Rect, Color, Color)
exLayerEditor:LayerField(Rect, Int32, exLayer)
exLayerEditor:LayerTreeField(Single, Single, exLayer)
exLayerEditor:OnGUI()
UnityEditor.DockArea:OnGUI()

As a consequence, we can't use or specify Sprite layers.

Could you help us with some information, or a bug fix?

@jwu
Copy link
Contributor

jwu commented Feb 14, 2013

Hi Paulhoux,

Can you provide me the ex2D version you are using on Unity 4.0?

@paulhoux
Copy link
Author

Hi,

sorry for not letting you know, but the error was caused by the fact that we moved the ex2d folder into a folder of our own, called "Plugins". Apparently, ex2d needs to sit in the project root for it to work properly. By moving it to the root, we don't have any problems anymore.

However, it would be nice if ex2d wasn't so picky about where it sits. Having the ability to move it to a different folder would be very nice.

-Paul

PS: the readme states version 1.2.0.

@jwu
Copy link
Contributor

jwu commented Aug 7, 2013

Hi Paulhoux,

We've changed a lot for layer-manager in ex2D v2.0. So the problem is eliminated in the new version. The ex2D v2.0 will be released soon.

@jwu jwu closed this as completed Aug 7, 2013
@paulhoux
Copy link
Author

paulhoux commented Aug 7, 2013

Hi,

thank you for notifying me. I will pass on the information to the team.

-Paul

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants