Closed DarKRealm79 closed 1 year ago
Sorry that I didn't respond. I was transitioning to a Linux desktop. I will install Unity and let you know.
What version of Unity are you using?
Hi there,
No worry, I could fix the problem for my project. I'm using Unity 2019.4 but as I wrote already, it's just a namspace error if you are already using some other scripts in your project. It's easier to rename it generally so people don't get this error in any situation.
Best regards Gerald
Jorge López Tello @.***> schrieb am Mi., 22. Feb. 2023, 13:48:
Sorry that I didn't respond. I was transitioning to a Linux desktop. I will install Unity and let you know.
What version of Unity are you using?
— Reply to this email directly, view it on GitHub https://github.com/LtdJorge/TextureManipulationUtilities/issues/1#issuecomment-1439962486, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQXVYLLGJMMEGSVSMJATS7LWYYDITANCNFSM6AAAAAAT4ZUITE . You are receiving this because you authored the thread.Message ID: @.***>
Hi @DarKRealm79, I just pushed a little change to fix this. It took me a long time to get Unity perfectly working on Linux with Wayland. So much that at some point I even forgot about it.
You said that you already implemented it for yourself, now you can clone from the original instead of needing a patched version. By the way, just in case you didn't notice, you can use this project by cloning into your assets folder, or better yet, by specifying the repo to the Unity package manager. UPM does the work for you.
Based on the error-message I got and the following article it's necessary to rename the namespace in all Editor-Scripts. https://forum.unity.com/threads/error-while-using-an-editor-namespace-when-assets-use-editor-as-a-type-unityeditor-editor.1103488/
for example like: namespace TextureManipulationUtilities.Editor{}
using TextureManipulationUtilities.Editor.Util;