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

export during runtime not working #6

Open
klauskobald opened this issue Nov 8, 2021 · 0 comments
Open

export during runtime not working #6

klauskobald opened this issue Nov 8, 2021 · 0 comments

Comments

@klauskobald
Copy link

I am trying to export like so:

        ExporterSettings.Export.folder = "/Users/klausk/Downloads/sein/";
        ExporterSettings.Export.clear = true;
        ExporterSettings.Export.name = "test";
        var e=new Exporter();
        e.Export();

but I get an error:

KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at <695d1cc93cca45069c528c15c9fdd749>:0)
SeinJS.ExtensionManager.GetExtensionName (System.Type FactoryClass) (at Assets/SeinJSUnityToolkit/Extensions/Basic/ExtensionManager.cs:100)

in this line of EditorExport.ExportOne:
ExtensionManager.Serialize(ExtensionManager.GetExtensionName(typeof(Sein_rendererExtensionFactory)), entry, entry.root.Extensions);

any Ideas?

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