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

UnboundLocalError when trying to load PLA model #6

Open
Fa6ex opened this issue Dec 29, 2022 · 0 comments
Open

UnboundLocalError when trying to load PLA model #6

Fa6ex opened this issue Dec 29, 2022 · 0 comments

Comments

@Fa6ex
Copy link

Fa6ex commented Dec 29, 2022

After downloading the models from the model dump linked on this repo, I tried loading a few of them, but only managed to load the armature before I got the following error:

Python: Traceback (most recent call last):
File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\PokemonSwitch.py", line 93, in execute
from_trmdl(directory, f, self.rare, self.loadlods)
File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\PokemonSwitch.py", line 1623, in from_trmdl
if poly_group_struct_ptr_unk_vis_group_name != 0:
UnboundLocalError: local variable 'poly_group_struct_ptr_unk_vis_group_name' referenced before assignment

I also tried doing the same with the options Load Shiny, Load All Folder, Load LODS ticked on/off, with the same result.

This error only occurs when loading PLA models - everything runs just fine when loading SV models

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