Ever wondered why every Substance Painter to Unity workflow tutorial shows the Unity scene with all textures already applied? Because this process is incredibly tedious and time consuming. Each material has 4 or 5 textures which you need to find, then drag and drop onto the material.
The TextureAssign editor script solves this problem by automating assigning the textures to the materials in Unity. It works by name-matching textures with materials.
Uploaded: over 3 years ago
Updated: 6 months ago
File Name: TextureAssign_v1.6.zip
Size: 331 KB
Being new to SP, this is very helpful. Thanks for sharing!
Glad you like it. There will be a new version soon with a lot of new features.
This crashes my unity when I try and hit assign textures.
@Thomas Tobin 0,
Does it crash with an error? If you can give me a small repo project I can probably fix it.
No it just immediately closes unity.
Ok, just send me a small repo project at bitbarrelmedia at g mail d o t c0m and I will have a look.
Hi, did you ever fixed that crash? My Unity keeps crashing as well
No, because Thomas never send me a repo, so I can't fix it. If you send me a simple reproducible project I can fix it for you.
Sending in 10 :)
I Uploaded a new version which should solve some of the problems mentioned. See the changelog for full details. It will take a while to get approved but you can get it right away here:
Having issue immediately closes unity after click the '' Assign to select object
@肥仔 健身记 0
If you email me a reproducible project, I can fix it.
bitbarrelmedia at gmail d0t com
How to use it in Unity??
There is a manual in the package. Let me know if you have any problems.
There is no icon, just a menu,
Create a folder called "Editor" in your Unity project and place the file TextureAssign.cs in this folder.
Open the Editor script: Window -> TextureAssign -> Assign Textures.
Press the button "Assign textures".
The is is from the included manual in the PDF. Let me know if that works.
Thanks for reply
I can't find ICON to start this function in UNITY, so I don't know what to do in UNITY. Is there a process teaching?
I uploaded a new version (1.4) which fixes a name matching bug and adds support for the Unity HD and LW Scriptable Render Pipeline.
I click assign textures and nothing happens. In my console I get a message saying there was a stack overflow issue.
Bit Barrel Media - where is version 1.4? I can see only 1.3. Thanks for your effort!
Allegorithmic decided it needs 20+ days to review an updated version... You can find it here:
Send me a small repo and I will have a look:
bitbarrelmedia at gmail d0t com
Any solutions for the stack over flow issue?
New version released witch fixes some bugs with the unity HDRP.
Not sure if this is a known thing or not, but if you have two texture set named part and part_2 then it incorrectly assigns the part textures to part_2. It seems to work ok if you have part_1 and part_2 though.
Thank you very much!
Hello, I tried you plugin but can't do anything, I get a "IOException: Error 267" error on 2018.4.2f1, standard renderer. Full stack : https://pastebin.com/nExjCS25
Fantastic, and kept updated, thanks so much BBM!
woow , thanks