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

Importing custompathed NPV .ent is errored #147

Open
nananarc opened this issue Apr 26, 2024 · 2 comments
Open

Importing custompathed NPV .ent is errored #147

nananarc opened this issue Apr 26, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@nananarc
Copy link

I'm trying to import my custom entity but blender give this error message and nothing else happens:

Python: Traceback (most recent call last): File "C:\Users\dahli\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\i_scene_cp77_gltf\__init__.py", line 1331, in execute importEnt( bob, apps, excluded,self.with_materials, self.include_collisions, self.include_phys, self.include_entCollider, inColl, self.remap_depot) File "C:\Users\dahli\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\i_scene_cp77_gltf\importers\entity_import.py", line 712, in importEnt if app_name: ^^^^^^^^ UnboundLocalError: cannot access local variable 'app_name' where it is not associated with a value

What I have tried:

  • Input correct app name
  • Having custom app name
  • Changing custom app name to "default"
  • Regenerate depot with newest WK
  • Re-export all needed materials for the NPV with newest WK
  • Older version of plugin with older compatible version of WK and Blender

Version info:

  • Blender 4.1
  • WK 8.13 nightly (April 25)
  • Plugin 1.5.5.2

Mana said this is likely a code problem so I figure it should be logged here

@Simarilius-uk Simarilius-uk self-assigned this Apr 26, 2024
@Simarilius-uk
Copy link
Contributor

Seems to work fine with basegame ents here, can you send me your wkit project? (discord dm would work)

@Simarilius-uk
Copy link
Contributor

Simarilius-uk commented Apr 28, 2024

Tracked it down to having a folder called \[working] NA\ in the project path, reproducable here. Needs fixing.

@Simarilius-uk Simarilius-uk added the bug Something isn't working label Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants