DarklightGames / io_scene_psk_psa

A Blender extension for importing and exporting Unreal PSK and PSA files
GNU General Public License v3.0
310 stars 20 forks source link

Import material missing #91

Closed StormtrooperLawyer closed 2 months ago

StormtrooperLawyer commented 2 months ago

Hello there! I'm having a weird issue where when I import a animation mesh it will have one material slot for some reason. Tried a couple of things but none did the trick. Can someone help with it perhaps?

I'm using the latest version of the addon and with the recommended version of blender alongside it. The game I'm importing it into is Star Wars Republic Commando.

StormtrooperLawyer commented 2 months ago

Please send me the relevant files so I can recreate the issue you're having. Blend files, PSK etc.

Thank you man for looking into this! Here's the link to the .blend https://drive.google.com/drive/folders/1UrGk0Toi_gVG7rZjpE3XISRV7UWx2wv5

Fyi I don't know how much this matters but we are replacing the model in game .

cmbasnett commented 2 months ago

You've made the Drive link private. You can just drag and drop the .blend file in here as an attachment.

StormtrooperLawyer commented 2 months ago

You've made the Drive link private. You can just drag and drop the .blend file in here as an attachment.

Hey sorry man for the late reply but I was at work but I have you given you access to the link earlier so it should work.

cmbasnett commented 2 months ago

As far as I can tell, this is working correctly on the add-on side. I can export this as a PSK, then re-import it and both materials are still there. I suspect, perhaps, that whatever engine you're importing this into doesn't like the fact that the name of the materials has spaces in it. Try changing the name of the materials to not contain spaces and let me know how it goes.

StormtrooperLawyer commented 2 months ago

As far as I can tell, this is working correctly on the add-on side. I can export this as a PSK, then re-import it and both materials are still there. I suspect, perhaps, that whatever engine you're importing this into doesn't like the fact that the name of the materials has spaces in it. Try changing the name of the materials to not contain spaces and let me know how it goes.

Hey man we tried changing the material name to one without spaces and that is shorter but to no avail, still one material will slot will show up in the game editor. :(

cmbasnett commented 2 months ago

If this is the case then I suspect something may be wrong with the importer in the engine. I'm going to close this as this isn't an issue with the addon.