Good day,
Hoping for someone to help me fix this kind of issue? the plugin was for nba 2k25 to import/export .SCNE files. Initially it worked properly then all of a sudden, this error goes up.
Thank you in advance for those who can help.
Are you sure this path exists?
Hello sir,
As you have mentioned it, I kinda remember doing other tutorial before experiencing the error. It’s like this;
Except, I changed Export_2k_Mesh.py to nba2k25_tool hight.py
Or is there anything I can do to like reset or undo that?
I mean the .obj path that’s mentioned in the original error, does it exists?
Don’t know if this new error is the same as the first, but your screenshot shows that:
body_vertex_group_list.txt
(in disk) is not the same as vertex_group_list.txt
(in code)
Are you pertaining to the hihead.obj sir?
I’m also curious about that. Since that hihead was a .scne file not .obj.
Hello there sir,
Yup, sorry that was an error initially made by the one doing the tutorial and the tutorial was from a different method of importing files to blender. But maybe, what I’ve done at the cmd which is C:\Program Files\Blender Foundation\Blender\2.79\pyhton\bin>dir
influenced blender on going into another path than usual where importing .scne was working prior to the error?
I mean you can check the location for hihead.obj
- maybe it’s available somewhere. Can you search the system for it (after you get this error traceback)? I have a guess that it’s saving your .scne to .obj as a temporary container to then import it using .obj importer.
Can we see the script that’s failing? Is it publicly available somewhere?
Also can you please change the title for the thread to make it less generic and more discovarable if someone meets the same issue?
Sir Andrej, really appreciate your help.
I think there is no existing hihead.obj file but rather only hihead.scne file which is what I’m trying to export sir.
About the script sir, are pertaining to the extension plugin? If so, I downloaded it from here sir;
I am using Blender v4 by the way sir.
Also, pardon for the misappropriation of thread title. I’m just not well aware with the proper terms
Okay, so the failing operator is this:
bpy.ops.object.generate_vertex_group()
bpy.ops.object.convert_and_export_obj()
bpy.ops.object.import_obj()
bpy.ops.object.delete_files()
So, since it’s failing on object.import_obj
, I assume object.convert_and_export_obj
was executed correctly so .obj must be saved somewhere…
What path are you’re providing as scne filepath?
Can you please trigger the error again and copy here all Blender logs from console (Window - Toggle System Console)?
Hi sir,
Here is the log.
The file location for the hiheade.scne is at my desktop.
Also, will it help if I would send the files needed for importing?
I see, the problem is that IndexBuffer file is missing but addon is using
print("错误:", str(e))
return {'CANCELLED'}
instead of
self.report({"ERROR"}, "错误:" + str(e))
return {'CANCELLED'}
and this is why object.convert_and_export_obj
confusingly doesnt fail.
Are you sure there is no traceback before “Vertices buffer”? There must be more. And can you please copy it as a text here instead of posting screenshots? So it will be easier to copy from it.
Where those .bin files are coming from? Do you also have them near scne file from the beginning or …? Any idea why IndexBuffer file can be missing?
Also, will it help if I would send the files needed for importing?
Sure, so there will an easy way to reproduce this.
And do you have any confirmation that your type of scne model is supported by this tool?
The original link for this addon is https://bbs.eyeuc.com/down/view/29532, this is where author hosted it.
It would be the best if you can contact the addon author / summon them here because this issue can be just a bug in the addon that would be good to fix in the source or maybe this type of scne model is just not supported and it also would be good to indicate it during import.
Sir, you did solve my problem.
I have’nt included the indexbuffer along with the importing files.
Thank you so much for your help sir.