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

UnityException, material is read-only #12

Open
arvz opened this issue Jun 25, 2018 · 0 comments
Open

UnityException, material is read-only #12

arvz opened this issue Jun 25, 2018 · 0 comments

Comments

@arvz
Copy link

arvz commented Jun 25, 2018

Hello,

When I try to import a tmx file I get an error:

UnityException: Assets/Tiled4Unity/Materials/***.mat is read-only
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation
ImportUtils.ReadyToWrite()    Assets/Tiled4Unity/Scripts/Editor/Importert/ImportUtils.cs:126
ImportTiled4Unity.CreateMaterialsFromInternalTextures()    Assets/Tiled4Unity/Scripts/Editor/Importert/ImportTiled4Unity.Xml.cs:132
ImportTiled4Unity.ImportBegin()    Assets/Tiled4Unity/Scripts/Editor/Importert/ImportTiled4Unity.Xml.cs:59

Running Unity 2018.1.6. Also tried it with older versions of 2018.1

Strangely if I import the same tmx & spritesheet file into an empty project, everything works fine, so it seems there's something specific to my project preventing this from working, but I can't figure out what it is. I've tried deleting every other file in my Assets folder but it still won't work!

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

1 participant