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

KeyNotFoundException when exporting live2d and crashes #60

Open
TaokyleYT opened this issue Jan 1, 2025 · 1 comment
Open

KeyNotFoundException when exporting live2d and crashes #60

TaokyleYT opened this issue Jan 1, 2025 · 1 comment

Comments

@TaokyleYT
Copy link

TaokyleYT commented Jan 1, 2025

log:

[Info] Read assets...
[Info] Process assets...
[Info] Building asset list...
[Info] Building tree structure...
[Info] Finished loading 114 file(s) with 47143 exportable assets
[Info] Searching for Live2D files...
Unhandled exception. System.Collections.Generic.KeyNotFoundException: The given key 'AssetStudio.MonoBehaviour' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at AssetStudioGUI.Studio.<>c__DisplayClass27_0.<ExportLive2D>b__0(Object state) in L:\GIT\AssetStudioMod\AssetStudioGUI\Studio.cs:line 973
   at System.Threading.QueueUserWorkItemCallback.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

I was trying to extract live2d object from a unity game, and then every time I press export all live2d cubism model this error shows and then instantly crashes, I managed to capture this log by attaching a debugger.

@aelurum
Copy link
Owner

aelurum commented Jan 1, 2025

Interesting. It would be nice if you could attach a sample file that gives this error.
But I think it should already be fixed in commits that haven't been pushed yet.

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

2 participants